We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe2de8 commit 6fa96d8Copy full SHA for 6fa96d8
src/core/index.ts
@@ -64,7 +64,8 @@ const unplugin = createUnplugin<Options>(options => ({
64
isBuild = config.command === 'build'
65
},
66
transform() {
67
- transformPluginContext = this
+ if ((this as any)._activeId === MODULE_NAME)
68
+ transformPluginContext = this
69
70
configureServer(server) {
71
viteDevServer = server
0 commit comments