Skip to content

Commit

Permalink
fix: ignore winston dep in webpack (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo authored and pi0 committed Jan 6, 2019
1 parent deee35e commit e534a28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/reporters/winston.js
@@ -1,7 +1,8 @@
// This reporter is compatible with Winston 3
// https://github.com/winstonjs/winston

const _require = require // bypass webpack
// eslint-disable-next-line
const _require = typeof __non_webpack_require__ !== 'undefined' ? __non_webpack_require__ : require // bypass webpack

export default class WinstonReporter {
constructor (logger) {
Expand Down

0 comments on commit e534a28

Please sign in to comment.