Skip to content

Commit

Permalink
fix: use same name for production and dev
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Aug 1, 2024
1 parent 20394bf commit 169295b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 169295b

Please # to comment.