@lightscript/babel-preset
v4.0.0-alpha.38
Published
Babel 7 preset that transpiles LightScript to a selected Ecmascript target.
Downloads
26
Readme
@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 theenv
key!
Contributing
Issues: https://github.com/wcjohnson/lightscript/issues