Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 261 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 261 Bytes

projector-babel

Run Babel with ease

import * as babel from 'projector-babel';

export async function build() {
  let {code, ast} = await babel.transform({
    code: 'input();',
    options: { /* babel options */ }
  });
}