Skip to content

Commit 188bba8

Browse files
committed
Enabled support for experimental ES7 features
1 parent 56031dc commit 188bba8

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
@@ -5,7 +5,7 @@ module.exports = {
55
// Ignore all files within node_modules
66
// 6to5 files can be .js and .es6
77
if (filename.indexOf("node_modules") === -1 && to5.canCompile(filename)) {
8-
return to5.transform(src, { filename: filename }).code;
8+
return to5.transform(src, { filename: filename, experimental: true }).code;
99
}
1010
return src;
1111
}

0 commit comments

Comments
 (0)