The best way to get up and running with LightScript
$ npm install --save-dev @lightscript/babel-preset
// .babelrc
{
"presets": [
[
"@lightscript",
{
"env": { "targets": { "ie": 10 } }
}
]
]
}
@lightscript/babel-presetincludes@babel/envand options can be passed in theenvkey!
Issues: https://github.com/wcjohnson/lightscript/issues