Skip to content

Commit 0f24367

Browse files
wip(core): misc comment
1 parent 8114ddd commit 0f24367

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/createVue3SFCModule.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ export async function createSFCModule(source : string, filename : string, option
159159
renameDynamicImport(ast);
160160
const depsList = parseDeps(ast);
161161

162+
// doc: https://babeljs.io/docs/en/babel-core#transformfromastasync
162163
const transformedScript = await babel_transformFromAstAsync(ast, scriptBlock.content, {
163164
sourceMaps: genSourcemap, // https://babeljs.io/docs/en/options#sourcemaps
164165
plugins: [ // https://babeljs.io/docs/en/options#plugins

0 commit comments

Comments
 (0)