mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-01 13:18:29 +01:00
2ebf3b462b
* 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
34 lines
514 B
Plaintext
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"]
|
|
}
|
|
}
|
|
}
|