Fix content-base option of webpack-dev-server

This commit is contained in:
Arik Fraimovich
2017-01-16 15:10:01 +02:00
parent 7e986db979
commit e586f99cb1

View File

@@ -4,7 +4,7 @@
"description": "The frontend part of Redash.",
"main": "index.js",
"scripts": {
"start": "webpack-dev-server --content-base app",
"start": "webpack-dev-server --content-base client/app",
"build": "rm -rf ./client/dist/ && NODE_ENV=production node node_modules/.bin/webpack",
"watch": "webpack --watch --progress --colors -d"
},