Skip to content

Commit

Permalink
Added doc in README about setting cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Ackerman committed Dec 6, 2017
1 parent 990d765 commit 0a40dbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ module.exports = {
// exclude detection of files based on a RegExp
exclude: /a\.js|node_modules/,
// add errors to webpack instead of warnings
failOnError: true
failOnError: true,
// set the current working directory for displaying module paths
cwd: process.cwd(),
})
]
}
Expand Down

0 comments on commit 0a40dbe

Please sign in to comment.