Skip to content

Commit 79ec1b6

Browse files
committedDec 24, 2018
A few minor config fixes
1 parent 114d11d commit 79ec1b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎config/webpack/lib-base.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = function configFactory(ops) {
3737
context: ops.context,
3838
entry: ops.entry,
3939
externals: [
40-
/babel-runtime/,
40+
/@babel\/runtime/,
4141
'lodash',
4242
'moment',
4343
'prop-types',

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
"build": "npm run clean && npm run build:dev && npm run build:prod",
126126
"build:dev": "npm run mkDistDir:dev && ./node_modules/.bin/webpack --env=development --bail --colors --display-optimization-bailout --profile --progress && BABEL_ENV=development babel src/server --out-dir dist/dev/server && BABEL_ENV=development babel src/shared/utils/jest.jsx --out-file dist/dev/shared/utils/jest.js && BABEL_ENV=development babel src/client/init.js --out-file dist/dev/client/init.js",
127127
"build:dev:watch": "npm run clean && npm run mkDistDir:dev && (./node_modules/.bin/webpack --env=development --bail --colors --display-optimization-bailout --profile --progress --watch | BABEL_ENV=development babel src/server --out-dir dist/dev/server --watch | BABEL_ENV=development babel src/shared/utils/jest.jsx --out-file dist/dev/shared/utils/jest.js --watch | BABEL_ENV=development babel src/client/init.js --out-file dist/dev/client/init.js --watch)",
128-
"build:prod": "npm run mkDistDir:prod && ./node_modules/.bin/webpack --env=production --colors --display-optimization-bailout --profile --progress && BABEL_ENV=production babel src/server --out-dir dist/prod/server && BABEL_ENV=production babel src/shared/utils/jest.jsx --out-file dist/prod/shared/utils/jest.js && BABEL_ENV=production babel src/client/init.js --out-file dist/prod/client/init.js",
128+
"build:prod": "npm run mkDistDir:prod && BABEL_ENV=production ./node_modules/.bin/webpack --env=production --colors --display-optimization-bailout --profile --progress && BABEL_ENV=production babel src/server --out-dir dist/prod/server && BABEL_ENV=production babel src/shared/utils/jest.jsx --out-file dist/prod/shared/utils/jest.js && BABEL_ENV=production babel src/client/init.js --out-file dist/prod/client/init.js",
129129
"clean": "./node_modules/.bin/rimraf dist",
130130
"jest": "NODE_CONFIG_ENV=test jest --no-cache --maxWorkers=4 --config config/jest/default.js",
131131
"lint": "npm run lint:js && npm run lint:scss",

0 commit comments

Comments
 (0)
Please sign in to comment.