enso/gui/examples/01-scene/webpack.config.js

17 lines
424 B
JavaScript
Raw Normal View History

const CopyWebpackPlugin = require("copy-webpack-plugin");
const HtmlWebpackPlugin = require('html-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']),
// new HtmlWebpackPlugin({template: 'index.html'}),
],
};