chore: add watch:desktop task

This commit is contained in:
Baptiste Grob
2020-09-28 12:07:28 +02:00
parent 92b223d35a
commit 045d1c1d1c

View File

@@ -10,6 +10,7 @@
"setup": "npm run submodules && npm install",
"start": "webpack-dev-server --progress --config webpack.dev.js",
"watch": "webpack -w --config webpack.dev.js",
"watch:desktop": "webpack -w --config webpack.dev.js --env.platform='desktop'",
"bundle": "webpack --config webpack.prod.js && npm run tsc",
"bundle:desktop": "webpack --config webpack.prod.js --env.platform='desktop' && npm run tsc",
"build": "bundle install && npm ci && bundle exec rails assets:precompile && npm run bundle",