Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongarciah committed Jun 26, 2024
1 parent ea028ba commit a6684b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ module.exports = function setKarmaConfig(config) {
// needed by sourcemap
fs: false,
path: false,
// needed by Next.js (and maybe others)
// Exclude polyfill and treat 'stream' as an empty module since it is not required. next -> gzip-size relies on it.
stream: false,
vm: false,
},
Expand Down
2 changes: 1 addition & 1 deletion test/karma.conf.profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ module.exports = function setKarmaConfig(config) {
// needed by sourcemap
fs: false,
path: false,
// needed by Next.js (and maybe others)
// Exclude polyfill and treat 'stream' as an empty module since it is not required. next -> gzip-size relies on it.
stream: false,
},
},
Expand Down
2 changes: 1 addition & 1 deletion test/regressions/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = {
fallback: {
// Exclude polyfill and treat 'fs' as an empty module since it is not required. next -> gzip-size relies on it.
fs: false,
// needed by Next.js (and maybe others)
// Exclude polyfill and treat 'stream' as an empty module since it is not required. next -> gzip-size relies on it.
stream: false,
// Exclude polyfill and treat 'zlib' as an empty module since it is not required. next -> gzip-size relies on it.
zlib: false,
Expand Down

0 comments on commit a6684b8

Please sign in to comment.