Skip to content

v0.2.0

Choose a tag to compare

@insin insin released this 06 Mar 04:48
· 6 commits to master since this release

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 to decorators: {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 or all: 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.