Skip to content

Commit

Permalink
fix: naive ui编译错误
Browse files Browse the repository at this point in the history
  • Loading branch information
nailiable committed Dec 6, 2024
1 parent bd40004 commit 34dfce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,6 @@ export default defineConfig({

ssr: {
// TODO: workaround until they support native ESM
noExternal: ['workbox-window', /vue-i18n/],
noExternal: ['workbox-window', /vue-i18n/, 'naive-ui', 'vueuc', 'date-fns'],
},
})

0 comments on commit 34dfce8

Please sign in to comment.