Skip to content

Commit

Permalink
fix: @vue/reactivity should be replaced in build mode, close #3
Browse files Browse the repository at this point in the history
  • Loading branch information
KermanX committed Jun 24, 2024
1 parent 97f67c7 commit 2ecef98
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/core/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ export default defineConfig({
'./shim.d.ts',
],
rollupTypes: true,
beforeWriteFile(_, content) {
return {
content: content.replaceAll('\'@vue/reactivity\'', '\'@reactive-vscode/reactivity\''),
}
},
}),
],
build: {
Expand Down

0 comments on commit 2ecef98

Please sign in to comment.