- Notifications
You must be signed in to change notification settings - Fork928
Closed
Description
Overview
When starting storybook, we get a noisy statement in the terminal:
Though the "loose" option was set to "true" in your @babel/preset-env config, it will not be used for @babel/plugin-proposal-private-methods since the "loose" mode option was set to "false" for @babel/plugin-proposal-private-property-in-object.
The "loose" option must be the same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
["@babel/plugin-proposal-private-methods", { "loose": false }]
to the "plugins" section of your Babel config
Timing
I plan to address this in gap-week between 2022 SP06 and SP07