next-debug-local

v0.1.4
> Debug you package outside the monorepo
next next.js debug

Next Debug Local

Debug you package outside the monorepo

Requirement

Next.js > 13.1.0

Usage

/** @type {import('next').NextConfig} */
const nextConfig = {
  // ...
}

const withDebug = require('next-debug-local')({
  '@blocksuite/store': '/path/to/repo/packages/store',
  '@blocksuite/blocks': '/path/to/repo/packages/blocks',
  '@blocksuite/editor': '/path/to/repo/packages/editor',
}, {
  enable: process.env.ENABLE_DEBUG_LOCAL
})

module.exports = withDebug(config)

LICENSE

MIT LICENSE

Metadata

  • MIT
  • Whatever
  • Himself65
  • released 12/24/2022

Downloads

Maintainers