1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/.babelrc.js

22 lines
375 B
JavaScript
Raw Normal View History

module.exports = {
presets: [
[
2017-11-05 13:03:33 -05:00
'@babel/env',
{
loose: true,
modules: false,
2017-11-05 13:03:33 -05:00
exclude: ['transform-typeof-symbol']
}
]
],
plugins: [
process.env.PLUGINS && 'transform-es2015-modules-strip',
'@babel/proposal-object-rest-spread'
2018-03-02 08:15:20 -05:00
].filter(Boolean),
env: {
test: {
plugins: [ 'istanbul' ]
}
}
};