Add back missing console.log in webpack config

Seems I accidentally deleted this in the biome pr 🤔
This commit is contained in:
Mats Jun Larsen
2025-06-23 16:36:13 +09:00
parent 577094cf11
commit f88cc624e5

View File

@@ -38,7 +38,9 @@ import {WebpackManifestPlugin} from 'webpack-manifest-plugin';
const __dirname = path.resolve(path.dirname(fileURLToPath(import.meta.url)));
const isDev = process.env.NODE_ENV !== 'production';
function log(message: string) {}
function log(message: string) {
console.log('webpack: ', message);
}
log(`compiling for ${isDev ? 'development' : 'production'}.`);
// Memory limits us in most cases, so restrict parallelism to keep us in a sane amount of RAM