Browse Source
Merge in VISUAL/fineui from ~IMP/fineui_fui:master to master * commit 'b2b59c9d40b7372d87589507b40c69bcc297b450': KERNEL-16294 fix: 导出适配1、导出widgetEngin构造的Element没有width方法,通过css设置 2、打包添加基本控件fineuiwithoutjquery = worker+基本控件 无jira任务 回退 无jira任务 多余空行 无jira任务 导出缺失research/test
imp-张健
1 year ago
7 changed files with 60 additions and 31 deletions
@ -0,0 +1,14 @@ |
|||||||
|
export * from './worker.js'; |
||||||
|
|
||||||
|
// "!src/base/single/input/file.js",
|
||||||
|
// "!src/case/ztree/**/*.js",
|
||||||
|
import * as _case from './case'; |
||||||
|
import * as _widget from './widget'; |
||||||
|
import { _global } from "@/core/0.foundation"; |
||||||
|
|
||||||
|
const fuiExport = { |
||||||
|
..._case, |
||||||
|
..._widget |
||||||
|
}; |
||||||
|
|
||||||
|
Object.assign(_global.BI, fuiExport); |
@ -1,24 +1,23 @@ |
|||||||
const common = require("./webpack.common.js"); |
const common = require("./webpack.common.js"); |
||||||
const { merge } = require("webpack-merge"); |
const { merge } = require("webpack-merge"); |
||||||
const dirs = require("./dirs"); |
const dirs = require("./dirs"); |
||||||
const attachments = require("./attachments"); |
const attachments = require("./attachments"); |
||||||
|
|
||||||
module.exports = merge(common, { |
module.exports = merge(common, { |
||||||
mode: "production", |
mode: "production", |
||||||
target: ["web", "es5"], |
target: ["web", "es5"], |
||||||
|
|
||||||
entry: { |
entry: { |
||||||
"fineui.min": attachments.fineui, |
"fineui.min": attachments.fineui, |
||||||
"fineui.worker.min": attachments.fineuiForWorker, |
"fineui.worker.min": attachments.fineuiForWorker, |
||||||
"fineui.worker": attachments.fineuiForWorker, |
"fineui_without_jquery_polyfill.min": attachments.fineuiWithout_Jquery_Polyfill, |
||||||
"fineui_without_jquery_polyfill.min":attachments.fineuiForWorker, |
}, |
||||||
}, |
|
||||||
|
output: { |
||||||
output: { |
path: dirs.DEST, |
||||||
path: dirs.DEST, |
filename: "[name].js", |
||||||
filename: "[name].js", |
publicPath: "" |
||||||
publicPath: "" |
}, |
||||||
}, |
|
||||||
|
devtool: "hidden-source-map" |
||||||
devtool: "hidden-source-map" |
}); |
||||||
}); |
|
||||||
|
Loading…
Reference in new issue