Skip to content

Commit

Permalink
Merge pull request #11 from yeojz/fix/babelopts-assignment
Browse files Browse the repository at this point in the history
fix: erroneous assignment in babelOpts
  • Loading branch information
biilmann authored Mar 23, 2018
2 parents 4f6a18e + 81106db commit dc17ea7
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 dc17ea7

Please sign in to comment.