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: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: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",
|
"test:server": "nyc --nycrc-path=test/.nycrc-mocha mocha --colors",
|
||||||
"watch": "webpack-dev-server --hot --inline"
|
"watch": "webpack --watch"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"lounge",
|
"lounge",
|
||||||
|
@ -141,19 +141,6 @@ const config = {
|
|||||||
// socket.io uses debug, we don't need it
|
// socket.io uses debug, we don't need it
|
||||||
new webpack.NormalModuleReplacementPlugin(/debug/, path.resolve(__dirname, "scripts/noop.js")),
|
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;
|
module.exports = config;
|
||||||
|
Loading…
Reference in New Issue
Block a user