/babel-preset

Babel 7 preset for compiling LightScript to ES2018.

Primary LanguageJavaScript

@lightscript/babel-preset

The best way to get up and running with LightScript

Usage

$ npm install --save-dev @lightscript/babel-preset
// .babelrc
{
  "presets": [
    [
      "@lightscript",
      {
        "env": { "targets": { "ie": 10 } }
      }
    ]
  ]
}

@lightscript/babel-preset includes @babel/env and options can be passed in the env key!

Contributing

Issues: https://github.com/wcjohnson/lightscript/issues