build: add HMR script

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/653/head
Varun Patil 2023-05-05 17:38:28 -07:00
parent 1309f6bcbd
commit f442e52ce5
1 changed files with 4 additions and 3 deletions

View File

@ -23,9 +23,10 @@
"license": "agpl", "license": "agpl",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "NODE_ENV=production webpack --progress --config webpack.js", "build": "webpack --node-env production --progress --config webpack.js",
"dev": "NODE_ENV=development webpack --progress --config webpack.js", "dev": "webpack --node-env development --progress --config webpack.js",
"watch": "NODE_ENV=development webpack --progress --watch --config webpack.js", "watch": "webpack --node-env development --progress --watch --config webpack.js",
"serve": "webpack serve --node-env development --progress --config webpack.js",
"e2e": "playwright test" "e2e": "playwright test"
}, },
"dependencies": { "dependencies": {