Fix stupid mistakes

This commit is contained in:
Drew DeVault 2018-03-03 20:51:10 -05:00
parent f8adaed4a0
commit 1f66d9cb4f

View File

@ -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"),