You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: