Skip to content

Commit

Permalink
Merge pull request #5 from pengx17/master
Browse files Browse the repository at this point in the history
fix: should ignore user provided babel configs
  • Loading branch information
iFaxity authored Jun 29, 2021
2 parents 92b2798 + 12d7b54 commit 35f6425
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ function transformCode(this: TransformPluginContext, srcCode: string, id: string
sourceMaps: true,
comments: true,
compact: true,
babelrc: false,
configFile: false,
parserOpts: {
allowReturnOutsideFunction: true,
sourceType: 'module',
Expand Down

0 comments on commit 35f6425

Please sign in to comment.