Skip to content

corejslib/babel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

135 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ℹ️ Please, see the full project documentation here:
https://corejslib.github.io/babel/

Introduction

Optimal babel config for parsing and transformations.

Install

npm install @corejslib/babel

Usage

import { createConfig, parseAsync, transformAsync } from "@corejslib/babel";

// parse
const ast = await parseAsync( code, createConfig() );

// transform
const { code, map } = await transformAsync( code, createConfig() );

About

Babel bundle

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors