babel / website

:globe_with_meridians: The Babel documentation website
https://babeljs.io/docs/en/index.html
MIT License
749 stars 1.31k forks source link

Use builtin plugins when available and provide default options for some external plugins #2783

Closed JLHwung closed 1 year ago

JLHwung commented 1 year ago

In this PR we provide builtin plugins available in @babel/standalone when the external plugins is an official Babel plugin. In this way we can reduce dependency on the rollup service and improve external plugin loading time.

Then we provide default options for decorators and pipeline plugins. Ideally we should provide an UI to modify such options, but for now at least we can provide a working plugin demo.

Preview link (decorator transform only)

netlify[bot] commented 1 year ago

Deploy Preview for babel-next ready!

Name Link
Latest commit f00f877f0e39f5f29ec1dd31c94ca95ff8c85340
Latest deploy log https://app.netlify.com/sites/babel-next/deploys/646cceb8343a0b0008954c79
Deploy Preview https://deploy-preview-2783--babel-next.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] commented 1 year ago

Deploy Preview for babel ready!

Name Link
Latest commit f00f877f0e39f5f29ec1dd31c94ca95ff8c85340
Latest deploy log https://app.netlify.com/sites/babel/deploys/646cceb81f3ab80008186b45
Deploy Preview https://deploy-preview-2783--babel.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.