UNPKG

next-transpile-modules

Version:

Next.js plugin to transpile code from node_modules

12 lines (11 loc) 433 B
export = withTmInitializer; /** * Transpile modules with Next.js Babel configuration * @param {string[]} modules * @param {{resolveSymlinks?: boolean, debug?: boolean, __unstable_matcher?: (path: string) => boolean}} options */ declare function withTmInitializer(modules?: string[], options?: { resolveSymlinks?: boolean; debug?: boolean; __unstable_matcher?: (path: string) => boolean; }): <T>(nextConfig?: T) => T;