Use hosting config in build

This commit is contained in:
David Boreham 2023-03-31 06:21:34 -06:00
parent 97a100d52f
commit 41d2278463

View File

@ -12,7 +12,7 @@
"build": "yarn dist",
"build:babel": "babel ./src --out-dir ./dist/es --ignore \"**/*.test.js\" --source-maps inline",
"clean": "rm -rf dist",
"dist": "yarn clean && yarn build:babel && CONFIG_FILE=config-production.yml webpack",
"dist": "yarn clean && yarn build:babel && CONFIG_FILE=config-hosted.yml webpack",
"lint": "semistandard 'src/**/*.js'",
"start": "CONFIG_FILE=${CONFIG_FILE:-config-testnet.yml} VERBOSE=true webpack-dev-server --mode development",
"test": "jest --rootDir ./src --passWithNoTests --no-cache"