You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
Feature
What is the expected behaviour?
Support babel stage 3 features in preact-cli
If this is a feature request, what is motivation or use case for changing the behaviour?
Right now, we can use optional-chaining with preact-cl@rc since we don't support them in our babel config.
Please mention other relevant information.
By setting shippedProposals to true, we can use the following proposals in CLI
The text was updated successfully, but these errors were encountered:
In current babel versions, shippedProposals defaults to true. But since we use preset-modules for generating esm build, we need to wait until next version of preset-env is released (after this PR is merged).
Do you want to request a feature or report a bug?
Feature
What is the expected behaviour?
Support babel stage 3 features in preact-cli
If this is a feature request, what is motivation or use case for changing the behaviour?
Right now, we can use optional-chaining with preact-cl@rc since we don't support them in our babel config.
Please mention other relevant information.
By setting
shippedProposals
to true, we can use the following proposals in CLIThe text was updated successfully, but these errors were encountered: