8000
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 5315a91 commit a592150Copy full SHA for a592150
src/core/index.ts
@@ -190,6 +190,8 @@ function resolveOptions(rawOptions: Options): ResolvedOptions {
190
191
export const plugin = createUnplugin<Options | undefined, false>(
192
(rawOptions = {}, meta) => {
193
+ clearScriptCache()
194
+
195
const options = shallowRef(resolveOptions(rawOptions))
196
197
const filter = computed(() =>
@@ -409,10 +411,6 @@ export const plugin = createUnplugin<Options | undefined, false>(
409
411
}
410
412
413
},
-
- buildEnd() {
414
- clearScriptCache()
415
- },
416
417
418
)
0 commit comments