Skip to content

Commit

Permalink
Simplify the requiring of Next's output logger
Browse files Browse the repository at this point in the history
  • Loading branch information
atkinchris committed Oct 19, 2021
1 parent 07a762a commit 963aa3a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/patches/next.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
const LOGGER_PATH = require('path').join(process.cwd(), 'node_modules', 'next/dist/build/output/log')

// eslint-disable-next-line import/no-dynamic-require
const nextLogger = require(LOGGER_PATH)
const nextLogger = require('next/dist/build/output/log')

const buildJsonLogger = require('../jsonLogger')

Expand Down

0 comments on commit 963aa3a

Please sign in to comment.