Browse Source

Pull request #8607: 无JIRA任务,修复打包问题

Merge in DEC/decision-webui-dcm from ~AUSTIN.DUAN/decision-webui-dcm:feature/x to feature/x

* commit '58dee6f64933e57fc0e5d8ba78436083118414ba':
  无JIRA任务,修复打包问题
feature/x
Austin.Duan-段嗣跃 11 months ago
parent
commit
aa4f5e13d4
  1. 14
      babel.config.js
  2. 1
      package.json

14
babel.config.js

@ -1,3 +1,13 @@
module.exports = function (api) {
return require("@fui/babel-preset-fineui").configs.base(api)
module.exports = 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",
],
};
};

1
package.json

@ -7,6 +7,7 @@
"author": "decision",
"license": "MIT",
"dependencies": {
"@babel/plugin-proposal-logical-assignment-operators": "^7.20.7",
"@types/jss": "9.5.8",
"autoprefixer": "^9.6.1",
"es6-promise": "4.2.6",

Loading…
Cancel
Save