Package Exports
- babel-preset-sxt-engine
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (babel-preset-sxt-engine) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
babel-preset-sxt-engine v2.0.0
Collection of Babel presets and plugins for all the development environments
Installation
You'll install babel-preset-sxt-engine:
$ npm install babel-preset-sxt-engine --save-devUsage
Add sxt-engine to the plugins section of your .babelrc configuration file. You can omit the babel-preset- prefix:
For Nodejs
{
"presets": [
"sxt-engine"
]
}For flowjs
{
"presets": [
"sxt-engine/flow"
]
}For React with transform-runtime
{
"presets": [
"sxt-engine/react"
]
}For Webpack with React & transform-runtime & enabled the Tree shaking
{
"presets": [
"sxt-engine/reactWebpack"
]
}For Webpack & transform-runtime & enabled the Tree shaking
{
"presets": [
"sxt-engine/webpack"
]
}