Socket
Socket
Sign inDemoInstall

@chialab/esbuild-plugin-babel

Package Overview
Dependencies
179
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @chialab/esbuild-plugin-babel

A pluggable esbuild plugin that runs babel for es5 transpilation.


Version published
Weekly downloads
81
increased by138.24%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

Esbuild Plugin Babel • A pluggable esbuild plugin that runs babel for es5 transpilation.

NPM


Install

npm i @chialab/esbuild-plugin-babel -D
yarn add @chialab/esbuild-plugin-babel -D

Usage

import esbuild from 'esbuild';
import babelPlugin from '@chialab/esbuild-plugin-babel';

await esbuild.build({
    plugins: [
        babelPlugin({
            plugins: [...],
        }),
    ],
});

Please not that it already includes typescript syntax support, the env preset and supports the transpilation of tagged templates with htm to JSX.


License

Esbuild Plugin Babel is released under the MIT license.

Keywords

FAQs

Last updated on 11 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc