From ed223d3633a9a65ae82c32a564e0aab7af66e7d8 Mon Sep 17 00:00:00 2001 From: Sasha Date: Mon, 2 Jun 2025 12:31:15 +0200 Subject: [PATCH] change config --- examples/dogfooding/webpack.config.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/dogfooding/webpack.config.js b/examples/dogfooding/webpack.config.js index 3d33df2..6a4d646 100644 --- a/examples/dogfooding/webpack.config.js +++ b/examples/dogfooding/webpack.config.js @@ -1,3 +1,4 @@ +const CopyWebpackPlugin = require("copy-webpack-plugin"); const path = require("path"); module.exports = { @@ -5,7 +6,6 @@ module.exports = { output: { path: path.resolve(__dirname, "build"), filename: "index.js", - publicPath: process.env.NODE_ENV === 'production' ? '/dogfooding/' : '/' }, experiments: { asyncWebAssembly: true, @@ -37,9 +37,5 @@ module.exports = { { from: "favicon.png", to: "favicon.png" }, ], }), - new HtmlWebpackPlugin({ - template: 'index.html', - base: process.env.NODE_ENV === 'production' ? '/dogfooding/' : '/', - }) ], }; \ No newline at end of file