Browse Source

chore: 打包问题

es6
iapyang 2 years ago
parent
commit
cff23d9b5f
  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