forked from fanruan/fineui
17 changed files with 107 additions and 61 deletions
Binary file not shown.
Before Width: | Height: | Size: 981 KiB After Width: | Height: | Size: 985 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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