Skip to content

Commit

Permalink
Fix(build): 修复打包配置错误,导致命名导出失效 (resolve #16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Jan 25, 2024
1 parent c4dc91a commit d01f640
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ module.exports = defineConfig({
transpileDependencies: true,
configureWebpack: {
output: {
libraryExport: 'default'
library: {
name: 'el-table-sticky',
type: 'umd',
}
}
},
css: {
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2218,9 +2218,9 @@ caniuse-api@^3.0.0:
lodash.uniq "^4.5.0"

caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001464, caniuse-lite@^1.0.30001502:
version "1.0.30001502"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001502.tgz#f7e4a76eb1d2d585340f773767be1fefc118dca8"
integrity sha512-AZ+9tFXw1sS0o0jcpJQIXvFTOB/xGiQ4OQ2t98QX3NDn2EZTSRBC801gxrsGgViuq2ak/NLkNgSNEPtCr5lfKg==
version "1.0.30001579"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001579.tgz"
integrity sha512-u5AUVkixruKHJjw/pj9wISlcMpgFWzSrczLZbrqBSxukQixmg0SJ5sZTpvaFvxU0HoQKd4yoyAogyrAz9pzJnA==

case-sensitive-paths-webpack-plugin@^2.3.0:
version "2.4.0"
Expand Down

0 comments on commit d01f640

Please sign in to comment.