How to specify webpack-dev-server webpack.config.js file location -
i starting webpack.
i have been able specify webpack location of webpack.config.js this:
"webpack --config ./app/webpack.config.js"
now trying use webpack-dev-server file also, can not find how specify webpack.config.js location it.
this relevant part of package.json
"scripts": { "start": "webpack-dev-server --config ./app/webpack.config.js --progress --colors", "build": "webpack --config ./app/webpack.config.js --progress --colors" }
how can pass ./app/ directory webpack-dev-server?
just came across issue. spacek33z said, --config
correct. couldn't find in webpack docs or webpack-dev-server docs, found myself @ question.
e.g.
webpack-dev-server --config demo/webpack.config.js
Comments
Post a Comment