From 6fce19f598c1ba328d71febd6e46827b7536404f Mon Sep 17 00:00:00 2001 From: Felix Dietze Date: Sat, 13 Jul 2019 19:19:51 -0400 Subject: [PATCH] Use console.error instead of console.log --- plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.js b/plugin.js index 205d52c..dc1e69b 100644 --- a/plugin.js +++ b/plugin.js @@ -7,8 +7,8 @@ const commandExistsSync = require('command-exists').sync; const chalk = require('chalk'); const Watchpack = require('watchpack'); -const error = msg => console.log(chalk.bold.red(msg)); -const info = msg => console.log(chalk.bold.blue(msg)); +const error = msg => console.error(chalk.bold.red(msg)); +const info = msg => console.error(chalk.bold.blue(msg)); // https://github.com/wasm-tool/wasm-pack-plugin/issues/58 const wasmPackPath = process.env["WASM_PACK_PATH"];