|
1 | 1 | {
|
2 |
| - "presets": ["es2015-loose", "stage-0", "react"], |
| 2 | + "presets": [ |
| 3 | + "@babel/env", |
| 4 | + "@babel/preset-react" |
| 5 | + ], |
3 | 6 | "plugins": [
|
4 |
| - "transform-decorators-legacy" |
| 7 | + [ |
| 8 | + "@babel/plugin-proposal-decorators", |
| 9 | + { |
| 10 | + "legacy": true |
| 11 | + } |
| 12 | + ], |
| 13 | + "@babel/plugin-syntax-dynamic-import", |
| 14 | + "@babel/plugin-syntax-import-meta", |
| 15 | + "@babel/plugin-proposal-class-properties", |
| 16 | + "@babel/plugin-proposal-json-strings", |
| 17 | + "@babel/plugin-proposal-function-sent", |
| 18 | + "@babel/plugin-proposal-export-namespace-from", |
| 19 | + "@babel/plugin-proposal-numeric-separator", |
| 20 | + "@babel/plugin-proposal-throw-expressions", |
| 21 | + "@babel/plugin-proposal-export-default-from", |
| 22 | + "@babel/plugin-proposal-logical-assignment-operators", |
| 23 | + "@babel/plugin-proposal-optional-chaining", |
| 24 | + [ |
| 25 | + "@babel/plugin-proposal-pipeline-operator", |
| 26 | + { |
| 27 | + "proposal": "minimal" |
| 28 | + } |
| 29 | + ], |
| 30 | + "@babel/plugin-proposal-nullish-coalescing-operator", |
| 31 | + "@babel/plugin-proposal-do-expressions", |
| 32 | + "@babel/plugin-proposal-function-bind" |
5 | 33 | ]
|
6 | 34 | }
|
0 commit comments