Browse Source

Fixes webpack dist clean-up

Tidies webpack cli output
main
Eric Amodio 4 years ago
parent
commit
c4c5b5e9b7
1 changed files with 19 additions and 18 deletions
  1. +19
    -18
      webpack.config.js

+ 19
- 18
webpack.config.js View File

@ -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,
},
};
}

Loading…
Cancel
Save