Skip to content

Commit

Permalink
Normalize output
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto committed Mar 4, 2024
1 parent 970be9b commit c8b71b8
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions programs/develop/webpack/config/logging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,15 @@ import {type ClientConfiguration} from 'webpack-dev-server'
const authorMode = process.env.EXTENSION_ENV === 'development'

export function getWebpackStats() {
if (!authorMode) {
return 'minimal'
}

return {
children: false,
errorDetails: true,
entrypoints: false,
colors: true,
assets: false,
chunks: false,
modules: false
}
return {
children: true,
errorDetails: true,
entrypoints: false,
colors: true,
assets: false,
chunks: false,
modules: false
}
}

export function getDevServerClientOptions(): ClientConfiguration {
Expand Down

0 comments on commit c8b71b8

Please sign in to comment.