0.1.5 • Published 3 years ago

next-debug-local v0.1.5

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago