Skip to content

Commit e720d98

Browse files
author
Ives van Hoorne
committed
Update the babelrc of vanilla to reflect current status
1 parent 52f78d6 commit e720d98

File tree

1 file changed

+10
-1
lines changed
  • packages/common/templates/configuration/babelrc

1 file changed

+10
-1
lines changed

packages/common/templates/configuration/babelrc/index.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,16 @@ const config: ConfigurationFile = {
9797

9898
if (template === 'parcel') {
9999
const presets = ['env'];
100-
const plugins = [];
100+
const plugins = [
101+
[
102+
'transform-runtime',
103+
{
104+
polyfill: false,
105+
regenerator: true,
106+
},
107+
],
108+
'transform-object-rest-spread',
109+
];
101110

102111
const packageJSONModule = resolveModule('/package.json');
103112

0 commit comments

Comments
 (0)