A Next.js plugin that resolves a custom babel config file (e.g., babel.config.js) for monorepo setups using yarn workspaces. Current stable version is 1.0.5, last published in 2020. It works with Next.js >7.0.0 but is broken on Next.js 11+. The plugin is no longer maintained; PRs for fixes are welcome. Key differentiator: enables project-wide babel configuration in monorepos where sharing a single babel.config.js is needed.
npm install next-plugin-custom-babel-configVerified import paths — ran on the pinned version, not inferred.
Shows how to wrap Next.js config with custom babel config file path resolution.
Consider using Next.js built-in babel configuration via .babelrc or babel.config.js in root, or migrate to a supported plugin.
Use const withCustomBabelConfigFile = require('next-plugin-custom-babel-config');Run npm install next-plugin-custom-babel-config --save
Change to const withCustomBabelConfigFile = require('next-plugin-custom-babel-config');No dependency data recorded yet.