Skip to content

Commit

Permalink
Use require.resolve for @babel/preset-env
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpalmer committed May 31, 2019
1 parent 22ee1d0 commit 823acc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createRollupConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const babelOptions = (
passPerPreset: true, // @see https://babeljs.io/docs/en/options#passperpreset
presets: [
[
'@babel/preset-env',
require.resolve('@babel/preset-env'),
{
loose: true,
modules: false,
Expand Down

0 comments on commit 823acc9

Please sign in to comment.