Skip to content

Commit 81106db

Browse files
committed
fix: bableOpts plugins assignment
1 parent 8531ff3 commit 81106db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/build.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function webpackConfig(dir, additionalConfig) {
99
var babelOpts = {cacheDirectory: true};
1010
if (!fs.existsSync(path.join(process.cwd(), '.babelrc'))) {
1111
babelOpts.presets = ["es2015"];
12-
babelOptsplugins = [
12+
babelOpts.plugins = [
1313
"transform-class-properties",
1414
"transform-object-assign",
1515
"transform-object-rest-spread"

0 commit comments

Comments
 (0)