mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
f17b165f0f
* use .babelrc.js, compile bundled/non-bundled with loose mode * add back helper, exclude typeof transform
17 lines
318 B
JavaScript
17 lines
318 B
JavaScript
module.exports = {
|
|
presets: [
|
|
[
|
|
'env',
|
|
{
|
|
loose: true,
|
|
modules: false,
|
|
exclude: ['transform-es2015-typeof-symbol']
|
|
}
|
|
]
|
|
],
|
|
plugins: [
|
|
process.env.ROLLUP && 'external-helpers',
|
|
process.env.PLUGINS && 'transform-es2015-modules-strip',
|
|
].filter(Boolean)
|
|
};
|