-
Notifications
You must be signed in to change notification settings - Fork 75
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
How to exclude "node_modules" #44
Comments
Your pattern Your project structure leads me to a few questions. Normally, when projects depending on a transpiling step like babel or webpack, they organize their code in a seperate src folder to make code generation into a dist folder easier. |
@zinserjan, the reasons I want to use
Anyways, I changed my project structure so that all sources of BE are under one folder and I am not sure whether to close the issue. I leave it open and see if this would lead to add an |
When #79 will be released it's possible to pass each directory as an entry to mocha-webpack.
|
How can I exclude
node_modules
from the run?I thought that
webpack-node-externals
were meant for this task. This is mywebpack.test-config.js
:I run the tests from
package.json
:"test": "mocha-webpack --webpack-config webpack.config-test.js \"**/test/*.test.js\"",
The text was updated successfully, but these errors were encountered: