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

"node_modules" in the development path causes problems for webpack as configured #2

Open
davidcrouch opened this issue Oct 4, 2016 · 0 comments

Comments

@davidcrouch
Copy link

davidcrouch commented Oct 4, 2016

The root of my development environment is built on "node_modules". Each subdirectory is essentially a module, which makes it easy to reference using "require" no matter where in the directory structure you are calling it from i.e. I don't use relative paths and hence do not break my code if I change the directory structure. This is beneficial in a large project.

Unfortunately, this causes a problem with the boilerplates because of the "exclude: '/node_modules/' in the webpack-config.js. Once I deleted this line I was able to run the boilerplates i.e. "npm run webpack" no longer generated errors.

Dave

@davidcrouch davidcrouch changed the title "node_modules" in the development path causes problems for webpack "node_modules" in the development path causes problems for webpack as configured Oct 4, 2016
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