Commit b873c24a authored by Jaden DIEFENBAUGH's avatar Jaden DIEFENBAUGH

use "debug" babel env instead of "development", dont use react-hot-loader (it...

use "debug" babel env instead of "development", dont use react-hot-loader (it messes with lifecycles)
parent c367ddde
......@@ -3,7 +3,8 @@
"syntax-object-rest-spread",
"transform-object-rest-spread",
"transform-class-properties",
"syntax-dynamic-import"
"syntax-dynamic-import",
"flow-react-proptypes"
],
"presets": [
"react",
......@@ -22,12 +23,6 @@
]
],
"env": {
"development": {
"plugins": [
"react-hot-loader/babel",
"flow-react-proptypes"
]
},
"test": {
"plugins": [
"istanbul"
......
......@@ -22,7 +22,8 @@ module.exports = {
// use [name] for sanity checks & debugging
filename: '[name].js',
// output in './dist/'
path: dist
path: dist,
publicPath: '/'
},
module: {
rules: [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment