Skip to content

Commit

Permalink
fix: babelrc: false still loads the config file
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Oct 5, 2018
1 parent d147a6b commit 276be70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ module.exports = function transform(
const { metadata, code } = babel.transformSync(content, {
filename,
presets: [[require.resolve('./babel'), options]],
babelrc: false,
exclude: /node_modules/,
babelrc: false,
configFile: false,
parserOpts,
});

Expand Down

0 comments on commit 276be70

Please sign in to comment.