Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Commit 9a5fca4

Browse files
christophehurpeauchrisbreiding
authored andcommitted
fix: presets must be an array (fixes #40)
1 parent efe697d commit 9a5fca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const defaultOptions = {
1919
{
2020
loader: require.resolve('babel-loader'),
2121
options: {
22-
presets: require.resolve('@babel/preset-env'),
22+
presets: [require.resolve('@babel/preset-env')],
2323
},
2424
},
2525
],

0 commit comments

Comments
 (0)