Browse Source

Pull request #3051: 无JIRA任务 打包问题

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

* commit 'cff23d9b5fd8af2b0f4d217df45b0da72f3697c9':
  chore: 打包问题
es6
Teller-杨派 2 years ago
parent
commit
d885da9ed4
  1. 5
      webpack/attachments.js

5
webpack/attachments.js

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

Loading…
Cancel
Save