mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
28 lines
681 B
Plaintext
28 lines
681 B
Plaintext
{
|
|
'presets': ['react', 'es2015-no-commonjs'],
|
|
'plugins': [
|
|
'transform-object-assign',
|
|
'transform-object-rest-spread',
|
|
'transform-react-display-name',
|
|
[ 'transform-runtime', {
|
|
'polyfill': false,
|
|
'regenerator': false
|
|
} ]
|
|
],
|
|
'sourceMaps': true,
|
|
|
|
'env': {
|
|
'demo': {
|
|
'plugins': [
|
|
[ 'react-transform', {
|
|
'transforms': [{
|
|
'transform': 'react-transform-hmr',
|
|
'imports': ['react'],
|
|
'locals': ['module']
|
|
}]
|
|
} ]
|
|
]
|
|
}
|
|
}
|
|
}
|