Skip to content

Commit 2ecef98

Browse files
committed
fix: @vue/reactivity should be replaced in build mode, close #3
1 parent 97f67c7 commit 2ecef98

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/core/vite.config.ts

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ export default defineConfig({
2121
'./shim.d.ts',
2222
],
2323
rollupTypes: true,
24+
beforeWriteFile(_, content) {
25+
return {
26+
content: content.replaceAll('\'@vue/reactivity\'', '\'@reactive-vscode/reactivity\''),
27+
}
28+
},
2429
}),
2530
],
2631
build: {

0 commit comments

Comments
 (0)