From bef99e023ab76a3eb7f8fd3b93423d10e1b25cd3 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Thu, 13 May 2021 16:27:28 +0200 Subject: [PATCH] Remove leftover babel include regex This regex is no longer needed since it no longer matches with the strip-ansi version that is bundled with Next.js --- packages/next/build/webpack-config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index 438796298254a..4050a470e4b88 100644 --- a/packages/next/build/webpack-config.ts +++ b/packages/next/build/webpack-config.ts @@ -287,7 +287,6 @@ export default async function getBaseWebpackConfig( /next[\\/]dist[\\/]next-server[\\/]lib/, /next[\\/]dist[\\/]client/, /next[\\/]dist[\\/]pages/, - /[\\/](strip-ansi|ansi-regex)[\\/]/, ] // Support for NODE_PATH