Sfoglia il codice sorgente

Adds better webpack stats output

main
Eric Amodio 1 anno fa
parent
commit
840ca6f549
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. +5
    -0
      webpack.config.js

+ 5
- 0
webpack.config.js Vedi File

@ -251,6 +251,8 @@ function getExtensionConfig(target, mode, env) {
stats: {
preset: 'errors-warnings',
assets: true,
assetsSort: 'name',
assetsSpace: 100,
colors: true,
env: true,
errorsCount: true,
@ -484,9 +486,12 @@ function getWebviewsConfig(mode, env) {
stats: {
preset: 'errors-warnings',
assets: true,
assetsSort: 'name',
assetsSpace: 100,
colors: true,
env: true,
errorsCount: true,
excludeAssets: [/\.(ttf|webp)/],
warningsCount: true,
timings: true,
},

Caricamento…
Annulla
Salva