Skip to content

Commit

Permalink
fix(build) decoratorsBeforeExport not legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
stared committed Feb 22, 2020
1 parent 4f22ed8 commit ba4ab7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
plugins: [
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator',
['@babel/plugin-proposal-decorators', { legacy: true }],
['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }],
['@babel/plugin-proposal-class-properties', { loose: true }],
],
};

0 comments on commit ba4ab7d

Please sign in to comment.