Skip to content

Commit d4310c9

Browse files
chore: add some comment about the rehijack [skip ci]
1 parent dda7828 commit d4310c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export function createEntryShakingPlugin(userOptions: PluginOptions): Plugin[] {
5050
apply: 'serve',
5151
enforce: 'pre',
5252
configResolved(config) {
53+
// Capture the original createResolver before vite-plugin-inspect hijacks it.
5354
originalCreateResolver = config.createResolver;
5455
},
5556
},

0 commit comments

Comments
 (0)