-
Nick Fitzgerald authored
This is necessary for our "Production and Deployment" chapter of the book.
Nick Fitzgerald authoredThis is necessary for our "Production and Deployment" chapter of the book.
webpack.config.js 311 B
const CopyWebpackPlugin = require("copy-webpack-plugin");
const path = require('path');
module.exports = {
entry: "./bootstrap.js",
output: {
path: path.resolve(__dirname, "dist"),
filename: "bootstrap.js",
},
mode: "development",
plugins: [
new CopyWebpackPlugin(['index.html'])
],
};