Skip to content

Commit

Permalink
fix: bableOpts plugins assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
yeojz committed Mar 11, 2018
1 parent 8531ff3 commit 81106db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function webpackConfig(dir, additionalConfig) {
var babelOpts = {cacheDirectory: true};
if (!fs.existsSync(path.join(process.cwd(), '.babelrc'))) {
babelOpts.presets = ["es2015"];
babelOptsplugins = [
babelOpts.plugins = [
"transform-class-properties",
"transform-object-assign",
"transform-object-rest-spread"
Expand Down

0 comments on commit 81106db

Please sign in to comment.