mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +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,
|
decoratorsBeforeExport,
|
||||||
legacy: decoratorsLegacy !== false
|
legacy: decoratorsLegacy !== false
|
||||||
}],
|
}],
|
||||||
[require('@babel/plugin-proposal-class-properties'), { loose }]
|
[require('@babel/plugin-proposal-class-properties'), { loose: true }]
|
||||||
)
|
)
|
||||||
|
|
||||||
// Transform runtime, but only for helpers
|
// Transform runtime, but only for helpers
|
||||||
|
Loading…
Reference in New Issue
Block a user