瀏覽代碼

Fixes webpack dist clean-up

Tidies webpack cli output
main
Eric Amodio 4 年之前
父節點
當前提交
c4c5b5e9b7
共有 1 個文件被更改,包括 19 次插入18 次删除
  1. +19
    -18
      webpack.config.js

+ 19
- 18
webpack.config.js 查看文件

@ -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…
取消
儲存