Ver código fonte

Fixes webpack dist clean-up

Tidies webpack cli output
main
Eric Amodio 4 anos atrás
pai
commit
c4c5b5e9b7
1 arquivos alterados com 19 adições e 18 exclusões
  1. +19
    -18
      webpack.config.js

+ 19
- 18
webpack.config.js Ver arquivo

@ -139,6 +139,7 @@ function getExtensionConfig(mode, env) {
},
devtool: 'source-map',
output: {
path: path.join(__dirname, 'dist'),
libraryTarget: 'commonjs2',
filename: 'gitlens.js',
chunkFilename: 'feature-[name].js',
@ -188,15 +189,15 @@ function getExtensionConfig(mode, env) {
symlinks: false,
},
plugins: plugins,
// stats: {
// all: false,
// assets: true,
// builtAt: true,
// env: true,
// errors: true,
// timings: true,
// warnings: true,
// },
stats: {
preset: 'errors-warnings',
assets: true,
colors: true,
env: true,
errorsCount: true,
warningsCount: true,
timings: true,
},
};
}
@ -412,14 +413,14 @@ function getWebviewsConfig(mode, env) {
symlinks: false,
},
plugins: plugins,
// stats: {
// all: false,
// assets: true,
// builtAt: true,
// env: true,
// errors: true,
// timings: true,
// warnings: true,
// },
stats: {
preset: 'errors-warnings',
assets: true,
colors: true,
env: true,
errorsCount: true,
warningsCount: true,
timings: true,
},
};
}

Carregando…
Cancelar
Salvar