mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +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']
|
||
|
}]
|
||
|
} ]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|