Summary
According to
1
, 'loose' mode configuration 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. This means that the configuration must be the same for all three plugins in order for them to work properly.
According to
See more results on Neeva
Summaries from the best pages on the web
'loose' mode configuration must be the same for both @babel/plugin-proposal-class-properties and @babel/plugin-proposal-private-methods Attempted fixes Tried suggested change (setting loose explicitly, both for @babel/env and the actual packages explicitly)
Odd 'loose' mode configuration must be the same... #11622
github.com
Note: The loose mode configuration setting must be the same as @ babel / plugin - proposal - class - properties . When true, private methods will be assigned directly on its parent via Object .defineProperty rather than a WeakSet. This…
@babel/plugin-proposal-private-methods · Babel
babeljs.io
Note: The loose mode configuration setting must be the same as @ babel / plugin - proposal - class - properties . When true, private methods will be assigned directly on its parent via Object .defineProperty rather than a WeakSet. This…
@babel/plugin-proposal-private-methods · Babel 中文文档
docschina.org
Note: The loose mode configuration setting must be the same as @ babel / proposal - class - properties . When true, private property in expressions will check own properties (as opposed to inherited ones) on the object ,…
@babel/plugin-proposal-private-property-in-object
w3cub.com