aboutsummaryrefslogtreecommitdiff
path: root/www/webpack.config.js
blob: 445b6e24c5fd323cc6a39db1cd8a2ff9eb34c86a (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, "../public"),
        filename: "bootstrap.js",
    },
    mode: "development",
    plugins: [
        new CopyWebpackPlugin(['index.html', 'bulma.min.css', 'favicon.ico'])
    ],
};