Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chialab/esbuild-plugin-babel

Package Overview
Dependencies
Maintainers
2
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

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.

  • 0.18.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
315
decreased by-55.51%
Maintainers
2
Weekly downloads
 
Created
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

Package last updated on 11 Jan 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc