chore: create desktop bundle task

This commit is contained in:
Baptiste Grob
2020-09-11 17:29:45 +02:00
parent 90d1814d68
commit c29305a6de

View File

@@ -11,6 +11,7 @@
"start": "webpack-dev-server --progress --config webpack.dev.js",
"watch": "webpack -w --config webpack.dev.js",
"bundle": "webpack --config webpack.prod.js && npm run tsc",
"bundle:desktop": "webpack --config webpack.prod.js --env.platform='desktop'",
"build": "bundle install && npm ci && bundle exec rails assets:precompile && npm run bundle",
"submodules": "git submodule update --init --force",
"lint": "eslint --fix app/assets/javascripts/**/*.js",