Merge pull request #390 from standardnotes/webpack-dev-server

Add webpack dev server
This commit is contained in:
Mo Bitar
2020-03-12 13:29:24 -05:00
committed by GitHub
5 changed files with 1313 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
"url": "https://github.com/standardnotes/web"
},
"scripts": {
"start": "webpack --mode development -w",
"start": "webpack-dev-server --progress",
"bundle": "webpack --mode production",
"build": "bundle install && npm install && npm run bundle",
"submodules": "git submodule update --init --force --remote",
@@ -49,7 +49,8 @@
"sn-stylekit": "2.0.22",
"snjs": "1.0.6",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.3"
},
"dependencies": {
"lodash": "^4.17.15"