Fix URLPattern next/server export on deploy (#39290)

This commit is contained in:
JJ Kasper 2022-08-03 10:13:58 -05:00 committed by GitHub
parent 213c42f446
commit 41ffe97f6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,5 +7,6 @@ module.exports = {
.userAgentFromString,
userAgent: require('next/dist/server/web/spec-extension/user-agent')
.userAgent,
URLPattern: global.URLPattern,
// eslint-disable-next-line no-undef
URLPattern: URLPattern,
}