diff --git a/src/core/index.ts b/src/core/index.ts index 69b96f77..c12587b3 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -13,7 +13,7 @@ import { EXPORT_HELPER_ID, helperCode } from '../core/helper' import { transformMain } from '../core/main' import { clearScriptCache, - getResolvedScript, + resolveScript, typeDepToSFCMap, } from '../core/script' import { transformStyle } from '../core/style' @@ -349,7 +349,13 @@ export const plugin = createUnplugin( let block: SFCBlock | null | undefined if (query.type === 'script') { // handle