nytimes/kyt

Warnings on "loose" option not set for `@babel/plugin-proposal-private-property-in-object`

woodb opened this issue ยท 0 comments

woodb commented

Versions of kyt, node, OS

  • babel-preset-kyt-core@1.2.15
  • babel-preset-kyt-react@1.3.16
  • babel-preset-kyt@1.1.16

Bug or Feature?

๐Ÿ› bug

Current Behavior

Warnings about inconsistent usage of loose for plugins that require them to be in sync.

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-property-in-object", { "loose": true }

Desired Behavior

No warnings about this setting