Skip to content

Commit e4428a5

Browse files
fix
1 parent 79ad1b6 commit e4428a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/start-plugin-core/src/start-compiler

‎packages/start-plugin-core/src/start-compiler/compiler.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ export class StartCompiler {
872872
id: string
873873
parserFilename?: string
874874
}) {
875-
const ast = parseAst({ code, filename: parserFilename ?? id })
875+
const ast = parseAst({ code, filename: parserFilename ?? cleanId(id) })
876876
const info = this.extractModuleInfo(ast, id)
877877
return { info, ast }
878878
}

0 commit comments

Comments
 (0)