IW4M-Admin/WebfrontCore/wwwroot/lib/bootstrap/.babelrc.js
2018-02-21 19:29:23 -06:00

17 lines
313 B
JavaScript

module.exports = {
presets: [
[
'@babel/env',
{
loose: true,
modules: false,
exclude: ['transform-typeof-symbol']
}
]
],
plugins: [
process.env.PLUGINS && 'transform-es2015-modules-strip',
'@babel/proposal-object-rest-spread'
].filter(Boolean)
};