diff --git a/index.js b/index.js index f2dce60b..8545f2c5 100644 --- a/index.js +++ b/index.js @@ -11,11 +11,11 @@ module.exports = function(source, map) { filename: filename, format: 'es', onerror: (err) => { - console.log(err.message); + console.error(err.message); this.emitError(err.message); }, onwarn: (warn) => { - console.log(warn.message); + console.warn(warn.message); this.emitWarn(warn.message); } });