|
|
|
@ -39,8 +39,7 @@ module.exports = function getBabelConfig(options = {}) { |
|
|
|
['@babel/plugin-proposal-class-properties', { loose: true }], |
|
|
|
['@babel/plugin-proposal-class-properties', { loose: true }], |
|
|
|
['@babel/plugin-proposal-private-methods', { loose: true }], |
|
|
|
['@babel/plugin-proposal-private-methods', { loose: true }], |
|
|
|
['@babel/plugin-proposal-object-rest-spread', { loose: true }], |
|
|
|
['@babel/plugin-proposal-object-rest-spread', { loose: true }], |
|
|
|
// Waiting with this need to refactoring timeSrv & locationUtil.init
|
|
|
|
'@babel/plugin-transform-react-constant-elements', |
|
|
|
// '@babel/plugin-transform-react-constant-elements',
|
|
|
|
|
|
|
|
'@babel/plugin-proposal-nullish-coalescing-operator', |
|
|
|
'@babel/plugin-proposal-nullish-coalescing-operator', |
|
|
|
'@babel/plugin-proposal-optional-chaining', |
|
|
|
'@babel/plugin-proposal-optional-chaining', |
|
|
|
'@babel/plugin-syntax-dynamic-import', // needed for `() => import()` in routes.ts
|
|
|
|
'@babel/plugin-syntax-dynamic-import', // needed for `() => import()` in routes.ts
|
|
|
|
|