|
|
@ -13,11 +13,11 @@ const fixIEJs = "./dist/fix/fix.ie.js"; |
|
|
|
const fixCompact = "./dist/fix/fix.compact.js"; |
|
|
|
const fixCompact = "./dist/fix/fix.compact.js"; |
|
|
|
const fixIECompact = './dist/fix/fix.compact.ie.js'; |
|
|
|
const fixIECompact = './dist/fix/fix.compact.ie.js'; |
|
|
|
const workerCompact = './dist/fix/worker.compact.js'; |
|
|
|
const workerCompact = './dist/fix/worker.compact.js'; |
|
|
|
const lodashJs = "src/core/lodash.js"; |
|
|
|
const lodashJs = "src/core/1.lodash.js"; |
|
|
|
|
|
|
|
|
|
|
|
const basicAttachmentMap = { |
|
|
|
const basicAttachmentMap = { |
|
|
|
polyfill: sync(["src/core/foundation.js", "src/polyfill/**/*.js"]).concat(["@babel/polyfill", "es6-promise/auto"]), |
|
|
|
polyfill: sync(["src/core/0.foundation.js", "src/polyfill/**/*.js"]).concat(["@babel/polyfill", "es6-promise/auto"]), |
|
|
|
polyfillIE: sync(["src/core/foundation.js", "src/polyfill/**/*.js"]).concat([ |
|
|
|
polyfillIE: sync(["src/core/0.foundation.js", "src/polyfill/**/*.js"]).concat([ |
|
|
|
"core-js/features/object/define-property", |
|
|
|
"core-js/features/object/define-property", |
|
|
|
"core-js/features/object/create", |
|
|
|
"core-js/features/object/create", |
|
|
|
"core-js/features/object/assign", |
|
|
|
"core-js/features/object/assign", |
|
|
@ -34,46 +34,18 @@ const basicAttachmentMap = { |
|
|
|
core: sync([ |
|
|
|
core: sync([ |
|
|
|
"src/less/core/**/*.less", |
|
|
|
"src/less/core/**/*.less", |
|
|
|
"src/less/theme/**/*.less", |
|
|
|
"src/less/theme/**/*.less", |
|
|
|
"src/core/foundation.js", |
|
|
|
|
|
|
|
lodashJs, |
|
|
|
lodashJs, |
|
|
|
// 'src/core/mvc/**/*.js',
|
|
|
|
|
|
|
|
"src/core/base.js", |
|
|
|
|
|
|
|
"src/core/ob.js", |
|
|
|
|
|
|
|
"src/core/widget.js", |
|
|
|
|
|
|
|
// 'src/core/model.js',
|
|
|
|
|
|
|
|
// 'src/core/view.js',
|
|
|
|
|
|
|
|
"src/core/shortcut.js", |
|
|
|
|
|
|
|
"src/core/utils/**/*.js", |
|
|
|
|
|
|
|
"src/core/behavior/behavior.js", |
|
|
|
|
|
|
|
"src/core/wrapper/layout.js", |
|
|
|
|
|
|
|
"src/core/plugin.js", |
|
|
|
|
|
|
|
"src/core/**/*.js", |
|
|
|
"src/core/**/*.js", |
|
|
|
"src/data/data.js", |
|
|
|
|
|
|
|
"src/data/**/*.js", |
|
|
|
"src/data/**/*.js", |
|
|
|
]), |
|
|
|
]), |
|
|
|
// 最基础的控件
|
|
|
|
// 最基础的控件
|
|
|
|
base: sync([ |
|
|
|
base: sync([ |
|
|
|
"src/less/base/**/*.less", |
|
|
|
"src/less/base/**/*.less", |
|
|
|
"src/third/**/*.js", |
|
|
|
"src/third/**/*.js", |
|
|
|
"src/base/pane.js", |
|
|
|
|
|
|
|
"src/base/single/single.js", |
|
|
|
|
|
|
|
"src/base/single/text.js", |
|
|
|
|
|
|
|
"src/base/single/button/button.basic.js", |
|
|
|
|
|
|
|
"src/base/single/button/button.node.js", |
|
|
|
|
|
|
|
"src/base/single/tip/tip.js", |
|
|
|
|
|
|
|
"src/base/combination/group.button.js", |
|
|
|
|
|
|
|
"src/base/combination/tree.button.js", |
|
|
|
|
|
|
|
"src/base/tree/ztree/treeview.js", |
|
|
|
|
|
|
|
"src/base/tree/ztree/asynctree.js", |
|
|
|
|
|
|
|
"src/base/tree/ztree/parttree.js", |
|
|
|
|
|
|
|
"src/base/tree/ztree/list/listtreeview.js", |
|
|
|
|
|
|
|
"src/base/tree/ztree/list/listasynctree.js", |
|
|
|
|
|
|
|
"src/base/tree/ztree/list/listparttree.js", |
|
|
|
|
|
|
|
"src/base/**/*.js", |
|
|
|
"src/base/**/*.js", |
|
|
|
]), |
|
|
|
]), |
|
|
|
// 实现好的一些基础实例
|
|
|
|
// 实现好的一些基础实例
|
|
|
|
case: sync([ |
|
|
|
case: sync([ |
|
|
|
"src/case/combo/popup.bubble.js", |
|
|
|
|
|
|
|
"src/case/**/*.js", |
|
|
|
"src/case/**/*.js", |
|
|
|
]), |
|
|
|
]), |
|
|
|
widget: sync([ |
|
|
|
widget: sync([ |
|
|
@ -97,23 +69,16 @@ const basicAttachmentMap = { |
|
|
|
]), |
|
|
|
]), |
|
|
|
config: sync(["demo/version.js", "i18n/i18n.cn.js"]), |
|
|
|
config: sync(["demo/version.js", "i18n/i18n.cn.js"]), |
|
|
|
utils: sync([ |
|
|
|
utils: sync([ |
|
|
|
"src/core/foundation.js", |
|
|
|
"src/core/0.foundation.js", |
|
|
|
lodashJs, |
|
|
|
lodashJs, |
|
|
|
"src/core/var.js", |
|
|
|
"src/core/constant/**/*.js", |
|
|
|
"src/core/func/array.js", |
|
|
|
"src/core/func/**/*.js", |
|
|
|
"src/core/func/number.js", |
|
|
|
"src/core/2.base.js", |
|
|
|
"src/core/func/string.js", |
|
|
|
"src/core/3.ob.js", |
|
|
|
"src/core/func/date.js", |
|
|
|
"src/core/6.inject.js", |
|
|
|
"src/core/func/function.js", |
|
|
|
|
|
|
|
"src/core/base.js", |
|
|
|
|
|
|
|
"src/core/ob.js", |
|
|
|
|
|
|
|
"src/core/alias.js", |
|
|
|
|
|
|
|
"src/core/inject.js", |
|
|
|
|
|
|
|
"src/core/i18n.js", |
|
|
|
|
|
|
|
"src/core/utils/*.js", |
|
|
|
"src/core/utils/*.js", |
|
|
|
"i18n/i18n.cn.js", |
|
|
|
"i18n/i18n.cn.js", |
|
|
|
"_mobile/date.i18n.cn.js", |
|
|
|
"_mobile/date.i18n.cn.js", |
|
|
|
"src/data/data.js", |
|
|
|
|
|
|
|
"src/data/**/*.js", |
|
|
|
"src/data/**/*.js", |
|
|
|
]), |
|
|
|
]), |
|
|
|
fix: [fixJs], |
|
|
|
fix: [fixJs], |
|
|
@ -205,38 +170,15 @@ const fineuiWithoutJqueryAndPolyfillJs = [].concat( |
|
|
|
sync([ |
|
|
|
sync([ |
|
|
|
"src/core/foundation.js", |
|
|
|
"src/core/foundation.js", |
|
|
|
lodashJs, |
|
|
|
lodashJs, |
|
|
|
// 'src/core/mvc/**/*.js',
|
|
|
|
|
|
|
|
"src/core/base.js", |
|
|
|
|
|
|
|
"src/core/ob.js", |
|
|
|
|
|
|
|
"src/core/widget.js", |
|
|
|
|
|
|
|
// 'src/core/model.js',
|
|
|
|
|
|
|
|
// 'src/core/view.js',
|
|
|
|
|
|
|
|
"src/core/shortcut.js", |
|
|
|
|
|
|
|
"src/core/utils/*.js", |
|
|
|
|
|
|
|
"src/core/behavior/behavior.js", |
|
|
|
|
|
|
|
"src/core/wrapper/layout.js", |
|
|
|
|
|
|
|
"src/core/plugin.js", |
|
|
|
|
|
|
|
"src/core/**/*.js", |
|
|
|
"src/core/**/*.js", |
|
|
|
"!src/core/platform/web/**/*.js", |
|
|
|
|
|
|
|
"src/data/data.js", |
|
|
|
|
|
|
|
"src/data/**/*.js", |
|
|
|
"src/data/**/*.js", |
|
|
|
"dist/fix/fix.js", |
|
|
|
"dist/fix/fix.js", |
|
|
|
"src/base/pane.js", |
|
|
|
|
|
|
|
"src/base/single/single.js", |
|
|
|
|
|
|
|
"src/base/single/text.js", |
|
|
|
|
|
|
|
"src/base/single/button/button.basic.js", |
|
|
|
|
|
|
|
"src/base/single/button/button.node.js", |
|
|
|
|
|
|
|
"src/base/single/tip/tip.js", |
|
|
|
|
|
|
|
"src/base/combination/group.button.js", |
|
|
|
|
|
|
|
"src/base/combination/tree.button.js", |
|
|
|
|
|
|
|
"src/base/combination/map.button.js", |
|
|
|
|
|
|
|
"src/base/**/*.js", |
|
|
|
"src/base/**/*.js", |
|
|
|
"!src/base/tree/ztree/**/*.js", |
|
|
|
|
|
|
|
"!src/base/single/input/file.js", |
|
|
|
|
|
|
|
"src/case/combo/popup.bubble.js", |
|
|
|
|
|
|
|
"src/case/**/*.js", |
|
|
|
"src/case/**/*.js", |
|
|
|
"!src/case/colorchooser/**/*.js", |
|
|
|
|
|
|
|
"!src/case/tree/ztree/**/*.js", |
|
|
|
"!src/core/platform/web/**/*.js", |
|
|
|
|
|
|
|
"!src/base/single/input/file.js", |
|
|
|
|
|
|
|
"!src/case/ztree/**/*.js", |
|
|
|
]), |
|
|
|
]), |
|
|
|
basicAttachmentMap.widget, |
|
|
|
basicAttachmentMap.widget, |
|
|
|
sync([fixCompact, workerCompact, "ui/js/**/*.js"]), |
|
|
|
sync([fixCompact, workerCompact, "ui/js/**/*.js"]), |
|
|
|