Skip to content

Commit

Permalink
Fix regression tests config
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed Nov 12, 2024
1 parent 35b8c2c commit aebc7ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/regressions/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aebc7ee

Please sign in to comment.