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

Allow Webpack to "see" more paths other than src. #833

Closed
ekaratzaferis opened this issue Oct 3, 2016 · 3 comments
Closed

Allow Webpack to "see" more paths other than src. #833

ekaratzaferis opened this issue Oct 3, 2016 · 3 comments

Comments

@ekaratzaferis
Copy link

ekaratzaferis commented Oct 3, 2016

I've read this in the user guide:

You may create subdirectories inside src. For faster rebuilds, only files inside src are processed by Webpack.
You need to put any JS and CSS files inside src, or Webpack won’t see them.

Is there any way I can bypass this limitation? If I want to structure my files in folders and have them all processed by Webpack, what should I do?

@gaearon
Copy link
Contributor

gaearon commented Oct 3, 2016

If I want to structure my files in folders and have them all processed by Webpack, what should I do?

Is there any problem with putting those folders inside of src?

@gaearon
Copy link
Contributor

gaearon commented Oct 3, 2016

Longer term we plan to allow an equivalent of having multiple packages in one project: #741.
Not sure if this helps?

@ekaratzaferis
Copy link
Author

There's nothing wrong just my personal taste :)

Looking forward for the #741 feature!

@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants