diff --git a/client/webpack.config.js b/client/webpack.config.js new file mode 100644 index 0000000..351da6c --- /dev/null +++ b/client/webpack.config.js @@ -0,0 +1,24 @@ +module.exports = { + context: __dirname + "/src", + entry: { + javascript: "./app.js", + html: "./index.html", + }, + + output: { + filename: "app.js", + path: __dirname + "/dist", + }, + + loaders: [ + { + test: /\.html$/, + loader: "file?name=[name].[ext]", + }, + { + test: /\.js$/, + exclude: /node_modules/, + loaders: ["react-hot", "babel-loader"], + } + ], +} \ No newline at end of file