Austin.Duan
11 months ago
2 changed files with 13 additions and 2 deletions
@ -1,3 +1,13 @@ |
|||||||
module.exports = function (api) { |
module.exports = api => { |
||||||
return require("@fui/babel-preset-fineui").configs.base(api) |
const { plugins, presets, sourceType } = require("@fui/babel-preset-fineui").configs.base(api); |
||||||
|
|
||||||
|
return { |
||||||
|
compact: false, |
||||||
|
presets, |
||||||
|
sourceType, |
||||||
|
plugins: [ |
||||||
|
...plugins, |
||||||
|
"@babel/plugin-proposal-logical-assignment-operators", |
||||||
|
], |
||||||
|
}; |
||||||
}; |
}; |
||||||
|
Loading…
Reference in new issue