Releases: insin/babel-preset-proposals
v0.4.0
v0.3.0
v0.2.0
Breaking changes
-
Removed the following options for proposal plugins which are now handled by @babel/preset-env:
jsonStrings
nullishCoalescingOperator
optionalChaining
-
Options for @babel/plugin-proposal-decorators have changed, so they're no longer defaulted to
{legacy: true}
- you'll need to change your config todecorators: {legacy: true}
if you want to keep the old behaviour.
Changes
-
Updated Babel proposal plugin dependencies from
7.0.0
to^7.8.3
-
Proposal plugins which take options can now be configured, this affects the following preset options:
classProperties
decorators
pipelineOperator
-
Proposal plugins which require options will use the following defaults if they're enabled by a
true
option orall: true
:decorators: {decoratorsBeforeExport: false}
pipelineOperator: {proposal: 'minimal'}
-
This preset will validate the
proposal
option for @babel/plugin-proposal-pipeline-operator, as the plugin isn't currently validating the presence or value of this option.