next-transpile-modules
Advanced tools
Comparing version 7.3.0 to 8.0.0
{ | ||
"name": "next-transpile-modules", | ||
"version": "7.3.0", | ||
"version": "8.0.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Pierre de la Martinière <pierre.de.la.martiniere@gmail.com>", |
@@ -30,2 +30,3 @@ # Next.js + Transpile `node_modules` | ||
| ----------------- | ------------------ | | ||
| Next.js 11 | 8.x | | ||
| Next.js 9.5+ / 10 | 4.x, 5.x, 6.x, 7.x | | ||
@@ -36,3 +37,3 @@ | Next.js 9.2 | 3.x | | ||
Latest Next.js version tested: **10.2.0**. | ||
Latest Next.js version tested: **11.0.0**. | ||
@@ -95,5 +96,3 @@ ## Installation | ||
module.exports = withTM({ | ||
future: { | ||
webpack5: false, // you want to keep using Webpack 4 | ||
}, | ||
webpack5: false, // you want to keep using Webpack 4 | ||
}); | ||
@@ -100,0 +99,0 @@ ``` |
@@ -91,3 +91,3 @@ /** | ||
const resolveSymlinks = 'resolveSymlinks' in options ? options.resolveSymlinks : true; | ||
const isWebpack5 = nextConfig.webpack5 || (nextConfig.future && nextConfig.future.webpack5) || false; | ||
const isWebpack5 = nextConfig.webpack5 !== undefined ? nextConfig.webpack5 : true; | ||
const debug = options.debug || false; | ||
@@ -94,0 +94,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
29658
309