Fix stupid mistakes
This commit is contained in:
parent
f8adaed4a0
commit
1f66d9cb4f
|
@ -10,11 +10,11 @@ const env = process.env.ENVIRONMENT || "development";
|
||||||
module.exports = {
|
module.exports = {
|
||||||
devtool: "source-map",
|
devtool: "source-map",
|
||||||
entry: [
|
entry: [
|
||||||
'react-hot-loader/patch',
|
(env !== "production" && "react-hot-loader/patch"),
|
||||||
"webpack-hot-middleware/client",
|
(env !== "production" && "webpack-hot-middleware/client"),
|
||||||
"font-awesome-sass-loader!./font-awesome.config.js",
|
"font-awesome-sass-loader!./font-awesome.config.js",
|
||||||
"./src/index.js"
|
"./src/index.js"
|
||||||
],
|
].filter(f => f),
|
||||||
output: {
|
output: {
|
||||||
filename: "bundle.js",
|
filename: "bundle.js",
|
||||||
path: path.resolve(__dirname, "dist"),
|
path: path.resolve(__dirname, "dist"),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user