We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9324e5e commit aa87168Copy full SHA for aa87168
1-basic-react/webpack.config.js
@@ -4,7 +4,7 @@ var path = require('path');
4
5
module.exports = {
6
context: path.join(__dirname, "src"),
7
- devtool: debug ? "inline-sourcemap" : null,
+ devtool: debug ? "inline-sourcemap" : false,
8
entry: "./js/client.js",
9
module: {
10
loaders: [
@@ -25,7 +25,7 @@ module.exports = {
25
},
26
plugins: debug ? [] : [
27
new webpack.optimize.DedupePlugin(),
28
- new webpack.optimize.OccurenceOrderPlugin(),
+ new webpack.optimize.OccurrenceOrderPlugin(),
29
new webpack.optimize.UglifyJsPlugin({ mangle: false, sourcemap: false }),
30
],
31
};
0 commit comments