1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-01 13:18:29 +01:00
slate/.babelrc
Zach Schneider 2ebf3b462b Set up webpack configuration for building examples (#1642)
* Set up webpack configuration for building examples

* Configure react-hot-loader in development

* Improve config, set gh-pages to use examples/dist directory

* PR feedback

* Rename App.js in git
2018-02-21 17:19:56 -08:00

34 lines
514 B
Plaintext

{
"presets": [
["env", {
"modules": false
}],
"react",
"stage-0"
],
plugins: ["external-helpers"],
"env": {
"webpack": {
"presets": [
["env", {
"modules": false
}],
"react",
"stage-0"
],
"plugins": [
"transform-runtime",
"react-hot-loader/babel"
]
},
"test": {
"presets": [
"env",
"react",
"stage-0"
],
"plugins": ["transform-runtime"]
}
}
}