next-debug-local

0.1.5 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i next-debug-local

Weekly Downloads

2

Version

0.1.5

License

MIT

Unpacked Size

3.53 kB

Total Files

4

Last publish

Collaborators

  • himself_65