Skip to content

Commit

Permalink
fix: should not read babel config file (#658)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Jun 1, 2023
1 parent 3ca7e38 commit e016a7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/builder/bundless/loaders/javascript/babel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const babelTransformer: IJSTransformer = function (content) {
filename: this.paths.fileAbsPath,
cwd: this.paths.cwd,
babelrc: false,
configFile: false,
sourceMaps: this.config.sourcemap,
sourceFileName: this.config.sourcemap
? path.relative(
Expand Down

0 comments on commit e016a7b

Please sign in to comment.