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

resolve files inside subfolder as if in root #11

Open
AlmirKadric opened this issue Apr 29, 2017 · 0 comments
Open

resolve files inside subfolder as if in root #11

AlmirKadric opened this issue Apr 29, 2017 · 0 comments

Comments

@AlmirKadric
Copy link

AlmirKadric commented Apr 29, 2017

Currently quite a lot of library projects will contains a src folder and a build folder. The build folder would be used to just serve and require from html script tag, however the src folder would be used for optimized builds by only taking what you need with webpack or something similar.

This introduces require('<module>/src/<file>') all over the place. Though in webpack this can be worked around with some additional configuration, it would be nice if this spec covered this scenario and allowed the user to redirect all files to a subfolder.

"browser": "./src" or something similar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant