mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
9 lines
1.2 KiB
Plaintext
9 lines
1.2 KiB
Plaintext
Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-transform-private-property-in-object since the "loose" mode option was set to "true" for @babel/plugin-transform-private-methods.
|
|
The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
|
|
["@babel/plugin-transform-private-property-in-object", { "loose": true }]
|
|
to the "plugins" section of your Babel config.
|
|
Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-transform-class-properties since the "loose" mode option was set to "true" for @babel/plugin-transform-private-property-in-object.
|
|
The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
|
|
["@babel/plugin-transform-class-properties", { "loose": true }]
|
|
to the "plugins" section of your Babel config.
|