🐳 Docker configuration change

This commit is contained in:
2021-08-31 09:32:59 -07:00
parent 5141d387b7
commit 632b2dc267
10 changed files with 142 additions and 528 deletions

View File

@@ -2,6 +2,8 @@ const path = require("path");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const outputDirectory = "dist";
const BundleAnalyzerPlugin =
require("webpack-bundle-analyzer").BundleAnalyzerPlugin;
module.exports = {
entry: ["babel-polyfill", "./src/client/index.tsx"],
@@ -73,6 +75,7 @@ module.exports = {
usedExports: false,
},
plugins: [
// new BundleAnalyzerPlugin(),
// new CleanWebpackPlugin([outputDirectory]),
new HtmlWebpackPlugin({
template: "./public/index.html",