|
|
@ -10,7 +10,7 @@ const basicAttachmentMap = { |
|
|
|
resource: sync(["src/less/resource/**/*.less"]), |
|
|
|
resource: sync(["src/less/resource/**/*.less"]), |
|
|
|
font: sync(["public/less/font.less"]), |
|
|
|
font: sync(["public/less/font.less"]), |
|
|
|
ts: ["./typescript/bundle.ts"], |
|
|
|
ts: ["./typescript/bundle.ts"], |
|
|
|
ui: sync(["ui/less/app.less", "ui/less/**/*.less", "ui/js/**/*.js"]), |
|
|
|
ui: sync(["ui/less/app.less", "ui/less/**/*.less",]), |
|
|
|
less: sync([ |
|
|
|
less: sync([ |
|
|
|
"src/less/core/**/*.less", |
|
|
|
"src/less/core/**/*.less", |
|
|
|
"src/less/theme/**/*.less", |
|
|
|
"src/less/theme/**/*.less", |
|
|
@ -20,23 +20,21 @@ const basicAttachmentMap = { |
|
|
|
"src/less/component/**/*.less" |
|
|
|
"src/less/component/**/*.less" |
|
|
|
]), |
|
|
|
]), |
|
|
|
js_bundle: sync(["src/bundle.js"]), |
|
|
|
js_bundle: sync(["src/bundle.js"]), |
|
|
|
js_worker: sync(["src/worker.js"]) |
|
|
|
js_worker: sync(["src/worker.js"]), |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const bundleCss = [].concat(basicAttachmentMap.less, sync(["public/less/app.less", "public/less/**/*.less"])); |
|
|
|
const bundleCss = uniq([].concat(basicAttachmentMap.less, basicAttachmentMap.ui, sync(["public/less/app.less", "public/less/**/*.less"]))); |
|
|
|
|
|
|
|
|
|
|
|
const fineui = [].concat( |
|
|
|
const fineui = [].concat( |
|
|
|
bundleCss, |
|
|
|
bundleCss, |
|
|
|
basicAttachmentMap.polyfill, |
|
|
|
basicAttachmentMap.polyfill, |
|
|
|
basicAttachmentMap.js_bundle, |
|
|
|
basicAttachmentMap.js_bundle, |
|
|
|
basicAttachmentMap.ui, |
|
|
|
|
|
|
|
basicAttachmentMap.ts, |
|
|
|
basicAttachmentMap.ts, |
|
|
|
configJS |
|
|
|
configJS |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
const fineuiForWorker = [].concat( |
|
|
|
const fineuiForWorker = [].concat( |
|
|
|
basicAttachmentMap.js_worker, |
|
|
|
basicAttachmentMap.js_worker, |
|
|
|
basicAttachmentMap.ui, |
|
|
|
|
|
|
|
basicAttachmentMap.ts |
|
|
|
basicAttachmentMap.ts |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|