We need both build steps.

This commit is contained in:
Thomas E Lackey 2020-06-11 15:44:35 -05:00
parent b343faa1fa
commit 823b1b1d84
2 changed files with 3 additions and 2 deletions

View File

@ -8,8 +8,9 @@
],
"scripts": {
"analyzer": "webpack --config webpack-analyzer.config.js",
"build:babel": "babel ./src --out-dir ./dist/es --ignore \"**/*.test.js\" --source-maps inline",
"build": "yarn dist",
"dist": "yarn clean && cp -f ${CONFIG_FILE:-config.yml.production} config.yml && webpack",
"dist": "yarn clean && cp -f ${CONFIG_FILE:-config.yml.production} config.yml && yarn build:babel && webpack",
"clean": "rm -rf dist",
"lint": "semistandard 'src/**/*.js'",
"start": "cp -f ${CONFIG_FILE:-config.yml.development} config.yml && VERBOSE=true webpack-dev-server --mode development",

View File

@ -1,7 +1,7 @@
{
"build": {
"name": "@dxos/console-app",
"buildDate": "2020-06-11T20:25:34.551Z",
"buildDate": "2020-06-11T20:44:07.996Z",
"version": "1.0.0-beta.0"
}
}