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
{{ message }}
This repository has been archived by the owner on Jul 18, 2019. It is now read-only.
Hello,
I use webpack 3.8, and i can't use the given configuration as I have error "Module build failed: Error: Cannot find module 'jshint'".
Nevertheless, the directory "jshint-loader" is in node_modules... Any ideas ? :)
Hello,
I use webpack 3.8, and i can't use the given configuration as I have error "Module build failed: Error: Cannot find module 'jshint'".
Nevertheless, the directory "jshint-loader" is in node_modules... Any ideas ? :)
The code I use:
module: {
rules: [
{
test: /.(jsx|js)$/,
exclude: /node_modules/,
use: [{
loader: 'babel-loader',
options: {
presets: ["es2017", "stage-0", "react", ],
plugins: ["transform-decorators-legacy"]
}
}, {
loader: 'jshint-loader'
}]
}
Thanks,
Dorian
The text was updated successfully, but these errors were encountered: