Browse Source

Pull request #3436: 无JIRA 用core-js/stable替代已经废弃的@babel/polyfill

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '3ca76a5a1b20b047a1c44b9c2a63c49c4a7c1bcb':
  update
  无JIRA 用core-js/stable替代已经废弃的@babel/polyfill
master
Dailer-刘荣歆 2 years ago
parent
commit
1e7dd6c45e
  1. 6
      package.json
  2. 2
      webpack/attachments.js

6
package.json

@ -9,8 +9,7 @@
},
"devDependencies": {
"@babel/core": "^7.17.4",
"@babel/polyfill": "7.6.0",
"@fui/babel-preset-fineui": "^2.0.0",
"@fui/babel-preset-fineui": "^3.0.0",
"@fui/eslint-plugin": "^1.0.19",
"@types/node": "15.6.1",
"@typescript-eslint/eslint-plugin": "2.33.0",
@ -18,7 +17,6 @@
"autoprefixer": "9.6.1",
"babel-loader": "8.0.6",
"chai": "4.2.0",
"cnpm": "6.1.1",
"concat": "1.0.3",
"core-js": "3.3.2",
"cross-env": "6.0.0",
@ -91,4 +89,4 @@
"jquery": "3.6.3",
"yargs": "17.6.2"
}
}
}

2
webpack/attachments.js

@ -7,7 +7,7 @@ const workerCompact = './dist/fix/worker.compact.js';
const lodashJs = "src/core/1.lodash.js";
const jqueryJs = "src/core/platform/web/jquery/_jquery.js";
const runtimePolyfill = ["@babel/polyfill", "es6-promise/auto"];
const runtimePolyfill = ["core-js/stable"];
const basicAttachmentMap = {
polyfill: sync([

Loading…
Cancel
Save