-
-
Notifications
You must be signed in to change notification settings - Fork 701
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
chai.js stopped working with webpack1 out of the box #985
Comments
That's a breaking change. I had to add: {
test: /\.json$/,
loader: 'json-loader',
}, and -extensions: ['.js'],
+extensions: ['.js', '.json'], |
Thank you for addressing this. 👍 I'll verify (and close the ticket) once 4.0.2 is out. |
In In order to get things working with wallaby any override of webpackConfig.resolve.extensions needs to include |
Closed via #986. We'll get a release out soon. |
Due to commit 4d45c5d, chai.js now requires json-loader, which is not included in Webpack 1.
Webpack 2 has a built-in json loader, so it is not affected.
Workarounds: user can manually add json-loader to his webpack 1 configuration, or use webpack 2.
The text was updated successfully, but these errors were encountered: