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-preset
includes@babel/env
and options can be passed in theenv
key!