Browse Source

Merge pull request #4382 from Gillibald/fixes/NukeNpmNoise

Make npm silent
pull/4384/head
Benedikt Stebner 6 years ago
committed by GitHub
parent
commit
7912faa7c2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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