Skip to content

Commit

Permalink
babel transform in some case will need configFile
Browse files Browse the repository at this point in the history
  • Loading branch information
windsonR authored and ajuner committed Jun 22, 2021
1 parent 5c453e8 commit 0bd8162
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ function usePluginImport(options) {
const plugins = [importMeta, [babelImport, options]]

const result = babel.transformSync(code, {
configFile: false,
ast: true,
plugins,
sourceFileName: id
Expand Down

0 comments on commit 0bd8162

Please sign in to comment.