Skip to content

Commit 67fa6ed

Browse files
author
David Heinemeier Hansson
committed
Match loose setting to quiet warning
1 parent 0a810f0 commit 67fa6ed

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

lib/install/config/babel.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ module.exports = function(api) {
5959
loose: true
6060
}
6161
],
62+
[
63+
'@babel/plugin-proposal-private-property-in-object',
64+
{
65+
loose: true
66+
}
67+
],
6268
[
6369
'@babel/plugin-transform-runtime',
6470
{

lib/install/examples/react/babel.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ module.exports = function(api) {
6868
loose: true
6969
}
7070
],
71+
[
72+
'@babel/plugin-proposal-private-property-in-object',
73+
{
74+
loose: true
75+
}
76+
],
7177
[
7278
'@babel/plugin-transform-runtime',
7379
{

0 commit comments

Comments
 (0)