Skip to content

Commit

Permalink
Enable loose transformation for object spread operator to improve per…
Browse files Browse the repository at this point in the history
…formance (paularmstrong#431)
  • Loading branch information
wurstbonbon authored and ntucker committed Jan 14, 2020
1 parent 3df7d07 commit b5f570a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
presets: [['@babel/preset-env', { loose: true }]],
plugins: [
// cjs && 'transform-es2015-modules-commonjs',
'@babel/plugin-proposal-object-rest-spread',
['@babel/plugin-proposal-object-rest-spread', { loose: true }],
['@babel/plugin-proposal-class-properties', { loose: true }]
].filter(Boolean)
};

0 comments on commit b5f570a

Please sign in to comment.