mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 01:37:26 +00:00
add note about filter(Boolean)
This commit is contained in:
@@ -211,7 +211,7 @@ module.exports = function(_, env) {
|
||||
navigateFallback: '/',
|
||||
navigateFallbackBlacklist: [/\.[a-z0-9]+$/i]
|
||||
})
|
||||
].filter(Boolean),
|
||||
].filter(Boolean), // Filter out any falsey plugin array entries.
|
||||
|
||||
// Turn off various NodeJS environment polyfills Webpack adds to bundles.
|
||||
// They're supposed to be added only when used, but the heuristic is loose
|
||||
|
||||
Reference in New Issue
Block a user