From aebc7eeceaf620073455596f4a0e52d8d1e98219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dudak?= Date: Fri, 8 Nov 2024 15:11:17 +0100 Subject: [PATCH] Fix regression tests config --- test/regressions/webpack.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/regressions/webpack.config.js b/test/regressions/webpack.config.js index 301dab27e7..12d194880b 100644 --- a/test/regressions/webpack.config.js +++ b/test/regressions/webpack.config.js @@ -88,6 +88,11 @@ module.exports = { // Exclude polyfill and treat 'zlib' as an empty module since it is not required. next -> gzip-size relies on it. zlib: false, }, + extensionAlias: { + '.js': ['.js', '.jsx', '.ts', '.tsx'], + '.mjs': ['.mjs', '.mts'], + '.cjs': ['.cjs', '.cts'], + }, }, // TODO: 'browserslist:modern' // See https://github.com/webpack/webpack/issues/14203