Skip to content

Commit aa87168

Browse files
author
Thibault Jan Beyer
authored
Update webpack.config.js
- it’s occurrence with two 'r' - should be 'false' not 'null'
1 parent 9324e5e commit aa87168

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-basic-react/webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var path = require('path');
44

55
module.exports = {
66
context: path.join(__dirname, "src"),
7-
devtool: debug ? "inline-sourcemap" : null,
7+
devtool: debug ? "inline-sourcemap" : false,
88
entry: "./js/client.js",
99
module: {
1010
loaders: [
@@ -25,7 +25,7 @@ module.exports = {
2525
},
2626
plugins: debug ? [] : [
2727
new webpack.optimize.DedupePlugin(),
28-
new webpack.optimize.OccurenceOrderPlugin(),
28+
new webpack.optimize.OccurrenceOrderPlugin(),
2929
new webpack.optimize.UglifyJsPlugin({ mangle: false, sourcemap: false }),
3030
],
3131
};

0 commit comments

Comments
 (0)