fix: add desktop bundle variant

This commit is contained in:
Baptiste Grob
2020-09-16 13:48:17 +02:00
parent 04484501fc
commit 6f8543b6e5

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' && npm run tsc",
"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",