We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vitejs
Learn more about funding links in repositories.
Report abuse
1 parent 9c2069f commit f5eb5acCopy full SHA for f5eb5ac
packages/plugin-vue/src/index.ts
@@ -158,6 +158,8 @@ export interface Api {
158
}
159
160
export default function vuePlugin(rawOptions: Options = {}): Plugin<Api> {
161
+ clearScriptCache()
162
+
163
const options = shallowRef<ResolvedOptions>({
164
isProduction: process.env.NODE_ENV === 'production',
165
compiler: null as any, // to be set in buildStart
@@ -361,8 +363,5 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin<Api> {
361
363
362
364
365
},
- buildEnd() {
- clearScriptCache()
366
- },
367
368
0 commit comments