File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { EXPORT_HELPER_ID, helperCode } from '../core/helper'
13
13
import { transformMain } from '../core/main'
14
14
import {
15
15
clearScriptCache ,
16
- getResolvedScript ,
16
+ resolveScript ,
17
17
typeDepToSFCMap ,
18
18
} from '../core/script'
19
19
import { transformStyle } from '../core/style'
@@ -349,7 +349,13 @@ export const plugin = createUnplugin<Options | undefined, false>(
349
349
let block : SFCBlock | null | undefined
350
350
if ( query . type === 'script' ) {
351
351
// handle <script> + <script setup> merge via compileScript()
352
- block = getResolvedScript ( descriptor , ssr )
352
+ block = resolveScript (
353
+ meta . framework ,
354
+ descriptor ,
355
+ options . value ,
356
+ ssr ,
357
+ customElementFilter . value ( filename ) ,
358
+ )
353
359
} else if ( query . type === 'template' ) {
354
360
block = descriptor . template !
355
361
} else if ( query . type === 'style' ) {
You can’t perform that action at this time.
0 commit comments