Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve export of sub-folders #32

Open
Nick-Lucas opened this issue Feb 21, 2023 · 0 comments
Open

Improve export of sub-folders #32

Nick-Lucas opened this issue Feb 21, 2023 · 0 comments

Comments

@Nick-Lucas
Copy link
Owner

Nick-Lucas commented Feb 21, 2023

  1. Currently the folders are under /src/lib/validators which isn't ergonomic
  2. webpack fails to load sourcemaps in these folders with an error like:
WARNING in ../../../node_modules/@gapstack/light-type/src/lib/validators/strings.js
Module Warning (from ../../../node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '...../packages/light-type/src/lib/validators/strings.ts' file: Error: ENOENT: no such file or directory, open '....../packages/light-type/src/lib/validators/strings.ts'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant