There was an error while loading. Please reload this page.
1 parent 6eb9f4c commit cd41410Copy full SHA for cd41410
1 file changed
src/index.ts
@@ -143,6 +143,10 @@ export default function PluginVue(userOptions: Partial<Options> = {}): Plugin {
143
144
const descriptor = getDescriptor(query.filename)
145
const hasScoped = descriptor.styles.some((s) => s.scoped)
146
+ if (query.src) {
147
+ this.addWatchFile(query.filename);
148
+ }
149
+
150
if (query.type === 'template') {
151
debug(`transform(${id})`)
152
const block = descriptor.template!
0 commit comments