Skip to content

Commit

Permalink
fix: keep default options for @babel/plugin-proposal-decorators and @…
Browse files Browse the repository at this point in the history
…babel/plugin-proposal-class-properties
  • Loading branch information
Cheton Wu committed Oct 28, 2021
1 parent 5c45f6a commit b408b3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = function(api) {
'@babel/plugin-proposal-do-expressions',

// Stage 2
['@babel/plugin-proposal-decorators', { 'legacy': true }],
'@babel/plugin-proposal-decorators',
'@babel/plugin-proposal-function-sent',
'@babel/plugin-proposal-export-namespace-from',
'@babel/plugin-proposal-numeric-separator',
Expand All @@ -33,7 +33,7 @@ module.exports = function(api) {
// Stage 3
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-syntax-import-meta',
['@babel/plugin-proposal-class-properties', { 'loose': true }],
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-json-strings',
]
};
Expand Down

0 comments on commit b408b3b

Please sign in to comment.