From 169295bd1c4aad9d85fec2edcaa344cc41687b73 Mon Sep 17 00:00:00 2001 From: frankpagan Date: Thu, 1 Aug 2024 10:45:09 -0400 Subject: [PATCH] fix: use same name for production and dev --- webpack.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index b6144e2..220d0a8 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -18,10 +18,10 @@ module.exports = async (env, argv) => { output: { path: path.resolve(__dirname, 'dist'), - filename: isProduction ? '[name].min.js' : '[name].js', - chunkFilename: isProduction ? '[name].min.js' : '[name].js', - // filename: isProduction ? '[name].js' : '[name].js', - // chunkFilename: isProduction ? '[name].js' : '[name].js', + // filename: isProduction ? '[name].min.js' : '[name].js', + // chunkFilename: isProduction ? '[name].min.js' : '[name].js', + filename: isProduction ? '[name].js' : '[name].js', + chunkFilename: isProduction ? '[name].js' : '[name].js', libraryTarget: 'umd', libraryExport: 'default', library: 'CoCreate',