|
|
|
@ -10,6 +10,9 @@ function sync(patterns) {
|
|
|
|
|
|
|
|
|
|
const fixJs = "./dist/fix/fix.js"; |
|
|
|
|
const fixIEJs = "./dist/fix/fix.ie.js"; |
|
|
|
|
const fixCompact = "./dist/fix/fix.compact.js"; |
|
|
|
|
const fixIECompact = './dist/fix/fix.compact.ie.js'; |
|
|
|
|
const workerCompact = './dist/fix/worker.compact.js'; |
|
|
|
|
const lodashJs = "src/core/lodash.js"; |
|
|
|
|
|
|
|
|
|
const basicAttachmentMap = { |
|
|
|
@ -125,7 +128,7 @@ const bundle = [].concat(
|
|
|
|
|
basicAttachmentMap.case, |
|
|
|
|
basicAttachmentMap.widget, |
|
|
|
|
sync(["public/less/app.less", "public/less/**/*.less"]), |
|
|
|
|
['./dist/fix/fix.compact.js'], |
|
|
|
|
[fixCompact, workerCompact], |
|
|
|
|
basicAttachmentMap.router, |
|
|
|
|
sync(["public/js/**/*.js", "public/js/index.js", "i18n/i18n.cn.js"]), |
|
|
|
|
basicAttachmentMap.ts, |
|
|
|
@ -139,7 +142,7 @@ const bundleIE = [].concat(
|
|
|
|
|
basicAttachmentMap.case, |
|
|
|
|
basicAttachmentMap.widget, |
|
|
|
|
sync(["public/less/app.less", "public/less/**/*.less"]), |
|
|
|
|
['./dist/fix/fix.compact.ie.js'], |
|
|
|
|
[fixIECompact, workerCompact], |
|
|
|
|
basicAttachmentMap.router, |
|
|
|
|
sync(["public/js/**/*.js", "public/js/index.js", "i18n/i18n.cn.js"]), |
|
|
|
|
basicAttachmentMap.ts, |
|
|
|
@ -164,7 +167,7 @@ const fineui = [].concat(
|
|
|
|
|
basicAttachmentMap.case, |
|
|
|
|
basicAttachmentMap.widget, |
|
|
|
|
basicAttachmentMap.router, |
|
|
|
|
["./dist/fix/fix.compact.js"], |
|
|
|
|
[fixCompact, workerCompact], |
|
|
|
|
basicAttachmentMap.ui, |
|
|
|
|
basicAttachmentMap.ts, |
|
|
|
|
); |
|
|
|
@ -177,7 +180,7 @@ const fineuiIE = [].concat(
|
|
|
|
|
basicAttachmentMap.case, |
|
|
|
|
basicAttachmentMap.widget, |
|
|
|
|
basicAttachmentMap.router, |
|
|
|
|
["./dist/fix/fix.compact.ie.js"], |
|
|
|
|
[fixIECompact, workerCompact], |
|
|
|
|
basicAttachmentMap.ui, |
|
|
|
|
basicAttachmentMap.ts, |
|
|
|
|
); |
|
|
|
@ -220,7 +223,7 @@ const fineuiWithoutJqueryAndPolyfillJs = [].concat(
|
|
|
|
|
"!src/case/tree/ztree/**/*.js", |
|
|
|
|
]), |
|
|
|
|
basicAttachmentMap.widget, |
|
|
|
|
sync(["dist/fix/fix.compact.js", "ui/js/**/*.js"]), |
|
|
|
|
sync([fixCompact, workerCompact, "ui/js/**/*.js"]), |
|
|
|
|
basicAttachmentMap.ts, |
|
|
|
|
); |
|
|
|
|
|
|
|
|
@ -233,7 +236,7 @@ const demo = [].concat(
|
|
|
|
|
basicAttachmentMap.case, |
|
|
|
|
basicAttachmentMap.widget, |
|
|
|
|
sync(["public/less/app.less", "public/less/**/*.less"]), |
|
|
|
|
['./dist/fix/fix.compact.js'], |
|
|
|
|
[fixCompact, workerCompact], |
|
|
|
|
basicAttachmentMap.config, |
|
|
|
|
basicAttachmentMap.ts, |
|
|
|
|
sync(["demo/less/*.less", "demo/less/**/*.less", "demo/app.js", "demo/js/**/*.js", "demo/config.js"]), |
|
|
|
|