Skip to content

Commit

Permalink
refactor: remove duplicate options
Browse files Browse the repository at this point in the history
  • Loading branch information
ShenQingchuan committed Sep 12, 2023
2 parents ed57dfd + c874b32 commit 8b8cdd7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/compiler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,7 @@ export function createVineFileCtx(
fileId: string,
fileCtxCache?: VineFileCtx,
) {
const root = babelParse(code, {
errorRecovery: true,
sourceType: 'module',
plugins: [
'typescript',
],
})
const root = babelParse(code)
const vineFileCtx: VineFileCtx = {
root,
fileId,
Expand Down

0 comments on commit 8b8cdd7

Please sign in to comment.