-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
i: regressionoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue
Description
'loose' mode configuration must be the same for both @babel/plugin-proposal-class-properties and @babel/plugin-proposal-private-methods
I'm getting this error even though I don't use either of the proposals explicitly.
Thus, it's kinda hard for me to configure their loose modes 😆
I think they are brought in through a preset.
My config is:
"babel": {
"plugins": [
"babel-plugin-macros"
],
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": false,
"shippedProposals": true,
"debug": false
}
]
]
},
"babelMacros": {
"styledComponents": {
"pure": true
}
},
I've recently done yarn upgrade and this error showed up.
Summary of babel versions that got upgraded in yarn.lock:
- 7.9.6 → 7.10.0: core, runtime, compat-data, generator, helpers, parser, traverse, types, helper-compilation-targets, helper-create-class-features-plugin, helper-replace-supers, ...
- 7.8.6 → 7.10.0: template
- 7.8.3 → 7.10.0: helper-member-expressions-to-function, plugin-transform-spread
- 7.9.0 → 7.10.0: plugin-transform-for-of
- ...
EvHaus, tonytonyjan, neil-morrison44 and noinkling
Metadata
Metadata
Assignees
Labels
i: regressionoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue