webpack: Remove source-map generation, customize logging

This commit is contained in:
Cohee 2024-10-17 00:52:49 +03:00
parent e4959c6ccb
commit f7796274ff

View File

@ -3,9 +3,13 @@ export const publicLibConfig = {
mode: 'production', mode: 'production',
entry: './public/lib.js', entry: './public/lib.js',
cache: true, cache: true,
devtool: 'source-map', devtool: false,
module: {}, module: {},
stats: 'minimal', stats: {
preset: 'minimal',
assets: false,
modules: false,
},
experiments: { experiments: {
outputModule: true, outputModule: true,
}, },