refactor(config): chenged the way falsy values are filtered out from the rewrites array

#259
This commit is contained in:
Dennis Morello 2021-04-06 11:00:38 +02:00
parent f770ad7a91
commit 65f7d3e909

View File

@ -40,7 +40,7 @@ module.exports = withCommerceConfig({
source: '/search/:category',
destination: '/search',
},
].filter((x) => x)
].filter(Boolean)
},
})