mirror of
https://github.com/thelounge/thelounge
synced 2024-11-10 14:44:13 +00:00
Do not build json3 module of Webpack
This commit is contained in:
parent
52cc3ee909
commit
9bf1e6e0d5
2 changed files with 4 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
"start-dev": "npm-run-all --parallel watch start",
|
||||
"build": "npm-run-all build:*",
|
||||
"build:font-awesome": "node scripts/build-fontawesome.js",
|
||||
"build:webpack": "webpack",
|
||||
"build:webpack": "webpack --progress",
|
||||
"watch": "webpack --watch",
|
||||
"test": "npm-run-all -c test:* lint",
|
||||
"test:mocha": "mocha",
|
||||
|
|
|
@ -60,6 +60,9 @@ let config = {
|
|||
},
|
||||
]
|
||||
},
|
||||
externals: {
|
||||
json3: "JSON", // socket.io uses json3.js, but we do not target any browsers that need it
|
||||
},
|
||||
plugins: [
|
||||
new webpack.optimize.CommonsChunkPlugin("js/bundle.vendor.js")
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue