Browse Source

Make npm silent

pull/4382/head
Benedikt Schroeder 6 years ago
parent
commit
54553b44d3
  1. 4
      nukebuild/Build.cs
  2. 2
      src/Avalonia.DesignerSupport/Remote/HtmlTransport/webapp/webpack.config.js

4
nukebuild/Build.cs

@ -128,7 +128,9 @@ partial class Build : NukeBuild
{
var webappDir = RootDirectory / "src" / "Avalonia.DesignerSupport" / "Remote" / "HtmlTransport" / "webapp";
NpmTasks.NpmInstall(c => c.SetWorkingDirectory(webappDir));
NpmTasks.NpmInstall(c => c
.SetWorkingDirectory(webappDir)
.SetArgumentConfigurator(a => a.Add("--silent")));
NpmTasks.NpmRun(c => c
.SetWorkingDirectory(webappDir)
.SetCommand("dist"));

2
src/Avalonia.DesignerSupport/Remote/HtmlTransport/webapp/webpack.config.js

@ -93,7 +93,7 @@ const config = {
plugins:
[
new Printer(),
new CleanWebpackPlugin([path.resolve(__dirname, 'build')]),
new CleanWebpackPlugin([path.resolve(__dirname, 'build')], { verbose: false }),
new MiniCssExtractPlugin({
filename: "[name].[chunkhash]h" +
".css",

Loading…
Cancel
Save