aboutsummaryrefslogtreecommitdiff
path: root/www/webpack.config.js
blob: 80ad8142d2c66524978a40684df58031d4e3560b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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'])
  ],
};