Skip to content

Commit

Permalink
feat: 修改umd暴露模块
Browse files Browse the repository at this point in the history
  • Loading branch information
yiludege committed May 4, 2023
1 parent 99c191a commit 0c4e434
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/wujie-react/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
path: path.resolve(__dirname, "./lib"),
filename: "index.js",
library: "WujieReact",
libraryExport: 'default',
libraryTarget: "umd",
globalObject: "self",
umdNamedDefine: true,
Expand Down
1 change: 1 addition & 0 deletions packages/wujie-vue2/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
publicPath: "/",
path: path.resolve(__dirname, "./lib"),
filename: "index.js",
libraryExport: 'default',
library: "WujieVue",
libraryTarget: "umd",
globalObject: "self",
Expand Down
1 change: 1 addition & 0 deletions packages/wujie-vue3/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
path: path.resolve(__dirname, './lib'),
filename: 'index.js',
library: 'WujieVue',
libraryExport: 'default',
libraryTarget: 'umd',
globalObject: 'self',
umdNamedDefine: true
Expand Down

0 comments on commit 0c4e434

Please sign in to comment.