From c176a46173dece05d4a74bd782f52db002338cee Mon Sep 17 00:00:00 2001 From: Jack Hsu Date: Tue, 2 Aug 2022 11:36:08 -0400 Subject: [PATCH] fix(nextjs): remove unsupported cssModules config property --- .../src/generators/application/files/next.config.js__tmpl__ | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/next/src/generators/application/files/next.config.js__tmpl__ b/packages/next/src/generators/application/files/next.config.js__tmpl__ index b83bcaec74081..b58403b99130a 100644 --- a/packages/next/src/generators/application/files/next.config.js__tmpl__ +++ b/packages/next/src/generators/application/files/next.config.js__tmpl__ @@ -15,9 +15,6 @@ const nextConfig = { // See: https://github.com/gregberge/svgr svgr: false, }, - // Set this to true if you use CSS modules. - // See: https://github.com/css-modules/css-modules - cssModules: false, }; module.exports = withLess(withNx(nextConfig)); @@ -33,9 +30,6 @@ const nextConfig = { // See: https://github.com/gregberge/svgr svgr: false, }, - // Set this to true if you use CSS modules. - // See: https://github.com/css-modules/css-modules - cssModules: false, }; module.exports = withStylus(withNx(nextConfig));