next-transpile-modules
Advanced tools
Comparing version 7.2.0 to 7.3.0
{ | ||
"name": "next-transpile-modules", | ||
"version": "7.2.0", | ||
"version": "7.3.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Pierre de la Martinière <pierre.de.la.martiniere@gmail.com>", |
@@ -5,3 +5,3 @@ export = withTmInitializer; | ||
* @param {string[]} modules | ||
* @param {{resolveSymlinks?: boolean, debug?: boolean, __unstable_matcher: (path: string) => boolean}} options | ||
* @param {{resolveSymlinks?: boolean, debug?: boolean, __unstable_matcher?: (path: string) => boolean}} options | ||
*/ | ||
@@ -11,3 +11,3 @@ declare function withTmInitializer(modules?: string[], options?: { | ||
debug?: boolean; | ||
__unstable_matcher: (path: string) => boolean; | ||
__unstable_matcher?: (path: string) => boolean; | ||
}): (nextConfig?: {}) => {}; |
@@ -84,3 +84,3 @@ /** | ||
* @param {string[]} modules | ||
* @param {{resolveSymlinks?: boolean, debug?: boolean, __unstable_matcher: (path: string) => boolean}} options | ||
* @param {{resolveSymlinks?: boolean, debug?: boolean, __unstable_matcher?: (path: string) => boolean}} options | ||
*/ | ||
@@ -92,3 +92,3 @@ const withTmInitializer = (modules = [], options = {}) => { | ||
const resolveSymlinks = 'resolveSymlinks' in options ? options.resolveSymlinks : true; | ||
const isWebpack5 = (nextConfig.future && nextConfig.future.webpack5) || false; | ||
const isWebpack5 = nextConfig.webpack5 || (nextConfig.future && nextConfig.future.webpack5) || false; | ||
const debug = options.debug || false; | ||
@@ -95,0 +95,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29653