2017-02-10 17:57:14 +01:00
|
|
|
{
|
2017-04-03 17:54:48 +02:00
|
|
|
'presets': ['es2015-no-commonjs'],
|
2017-02-10 17:57:14 +01:00
|
|
|
'plugins': [
|
2017-04-03 17:54:48 +02:00
|
|
|
'transform-export-extensions',
|
2017-02-10 17:57:14 +01:00
|
|
|
'transform-object-assign',
|
2017-04-03 17:54:48 +02:00
|
|
|
'transform-object-rest-spread'
|
2017-02-10 17:57:14 +01:00
|
|
|
],
|
|
|
|
'sourceMaps': true,
|
|
|
|
|
|
|
|
'env': {
|
2017-04-03 17:54:48 +02:00
|
|
|
'bundle': {
|
|
|
|
'plugins': [
|
|
|
|
['transform-runtime', {
|
|
|
|
'polyfill': true,
|
|
|
|
'regenerator': false
|
|
|
|
}]
|
|
|
|
]
|
|
|
|
},
|
2017-02-10 17:57:14 +01:00
|
|
|
'cjs': {
|
2017-04-03 17:54:48 +02:00
|
|
|
'plugins': [
|
|
|
|
'add-module-exports',
|
|
|
|
'transform-es2015-modules-commonjs'
|
|
|
|
]
|
2017-02-10 17:57:14 +01:00
|
|
|
}
|
|
|
|
}
|
2017-04-03 17:54:48 +02:00
|
|
|
}
|