Skip to content

Commit d8a9147

Browse files
committed
use correct loose mode option
1 parent d7cfd34 commit d8a9147

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/webpack.dev.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
{
1212
test: /.js/,
1313
exclude: /node_modules/,
14-
loader: 'babel?optional[]=runtime&loose=true'
14+
loader: 'babel?optional[]=runtime&loose=all'
1515
}
1616
]
1717
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dev": "npm run serve & npm run serve-test & webpack --watch --config build/webpack.dev.config.js",
88
"lint": "eslint src build test/e2e test/unit/specs",
99
"unit": "./node_modules/karma/bin/karma start build/karma.config.js",
10-
"build": "babel ./src --loose --optional runtime --out-dir lib && webpack --config build/webpack.build.dev.config.js && webpack --config build/webpack.build.min.config.js",
10+
"build": "babel ./src --loose all --optional runtime --out-dir lib && webpack --config build/webpack.build.dev.config.js && webpack --config build/webpack.build.min.config.js",
1111
"serve": "webpack-dev-server --hot --config example/advanced/webpack.config.js --content-base example/advanced --history-api-fallback --host 0.0.0.0",
1212
"serve-test": "webpack-dev-server --quiet --config test/unit/webpack.config.js --content-base test/unit --history-api-fallback --host 0.0.0.0 --port 8081",
1313
"e2e-sauce": "nightwatch -c build/nightwatch.sauce.json -e chrome,firefox,ie10,ie11",

0 commit comments

Comments
 (0)