Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
Improve webpack log formatter for all paths
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed Sep 17, 2016
1 parent 5255b03 commit f382b20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/builder/webpack/log-formatter.js
Expand Up @@ -10,6 +10,8 @@ let spinner = makeSpinner()
// remove noize from messages
const betterMsg = (msg: string): string => (
msg
.replace(process.cwd(), ".")

// Webpack "Module not found" noize
.replace(/Error: Cannot resolve 'file' or 'directory'/, "")

Expand Down

0 comments on commit f382b20

Please sign in to comment.