mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix(babel-preset-app): use loose mode for babel class plugin (#6435)
This commit is contained in:
parent
2f0b33f5ed
commit
75f8564cdc
@ -132,7 +132,7 @@ module.exports = (api, options = {}) => {
|
||||
decoratorsBeforeExport,
|
||||
legacy: decoratorsLegacy !== false
|
||||
}],
|
||||
[require('@babel/plugin-proposal-class-properties'), { loose }]
|
||||
[require('@babel/plugin-proposal-class-properties'), { loose: true }]
|
||||
)
|
||||
|
||||
// Transform runtime, but only for helpers
|
||||
|
Loading…
Reference in New Issue
Block a user