Skip to content

Commit

Permalink
fix(plugin-react-refresh): do not pick up config file in react-refres…
Browse files Browse the repository at this point in the history
…h plugin
  • Loading branch information
yyx990803 committed Feb 2, 2021
1 parent 8ddbc44 commit 9d560d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/plugin-react-refresh/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ function reactRefreshPlugin(opts) {

const isReasonReact = id.endsWith('.bs.js')
const result = transformSync(code, {
configFile: false,
parserOpts: {
sourceType: 'module',
allowAwaitOutsideFunction: true,
Expand Down

0 comments on commit 9d560d8

Please sign in to comment.