From f1eddf182194358777fcc3d9ab6b3efd45a07f2e Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 1 Apr 2025 21:15:37 +0530 Subject: [PATCH] fixed build --- webpack.config.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 0b2aabb..51a0302 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -33,7 +33,7 @@ module.exports = { output: { path: path.resolve(__dirname, "dist"), filename: isProduction ? "js/[name].[contenthash].js" : "js/[name].js", - publicPath: "/", + publicPath: "./", }, module: { @@ -86,11 +86,6 @@ module.exports = { { from: 'public', to: '', noErrorOnMissing: true, globOptions: { ignore: ['**/index.html'] }}, // Copies everything else from public to dist ], }), - - new webpack.EnvironmentPlugin({ - REACT_APP_ANALYTICS_SCRIPT_ID: process.env.REACT_APP_ANALYTICS_SCRIPT_ID || '', // Default empty value - API_URL: 'https://default.api.com' - }) ],