plugins: [
['@babel/plugin-proposal-decorators', { legacy: true }],
['@babel/plugin-proposal-class-properties', { loose: true }],
],
When using decorators plugin and class properties plugin at the same time, when the legacy property of the decorators plugin is set to true, must the loose property of the class properties plugin be set to true?
When using the legacy: true mode, the setPublicClassFields assumption must be enabled to support the @babel/plugin-proposal-decorators.
I don't understand this sentence, how class properties plugin support decorators plugin?
please.