Skip to content

Commit

Permalink
chore: 解决打包时输出包名的警告
Browse files Browse the repository at this point in the history
  • Loading branch information
TerryZ committed Sep 6, 2024
1 parent 57a16d5 commit 1c6b8ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default defineConfig({
rollupOptions: {
external: ['vue'],
output: {
exports: 'named',
globals: {
vue: 'Vue'
}
Expand Down

0 comments on commit 1c6b8ab

Please sign in to comment.