Remove devServer for now, it's not good enough
This commit is contained in:
parent
a8cad55fda
commit
9d8f02ce99
@ -22,7 +22,7 @@
|
||||
"test:browser": "webpack-dev-server --config=webpack.config-browser.js",
|
||||
"test:client": "nyc --nycrc-path=test/.nycrc-mocha-webpack mocha-webpack --colors --opts=test/mocha-webpack.opts",
|
||||
"test:server": "nyc --nycrc-path=test/.nycrc-mocha mocha --colors",
|
||||
"watch": "webpack-dev-server --hot --inline"
|
||||
"watch": "webpack --watch"
|
||||
},
|
||||
"keywords": [
|
||||
"lounge",
|
||||
|
@ -141,19 +141,6 @@ const config = {
|
||||
// socket.io uses debug, we don't need it
|
||||
new webpack.NormalModuleReplacementPlugin(/debug/, path.resolve(__dirname, "scripts/noop.js")),
|
||||
],
|
||||
devServer: {
|
||||
port: 9001,
|
||||
proxy: {
|
||||
"/": {
|
||||
context: ["**", "!/css/**", "!/js/**"],
|
||||
target: "http://localhost:9000/",
|
||||
},
|
||||
"/socket.io": {
|
||||
ws: true,
|
||||
target: "http://localhost:9000",
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
Loading…
Reference in New Issue
Block a user