@vercel/next 3.0.4 → 3.0.5-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/dist/server-build.js +2 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -47535,8 +47535,9 @@ async function serverBuild({ dynamicPages, pagesDir, config = {}, privateOutputs
|
|
47535
47535
|
continue: true,
|
47536
47536
|
...(isOverride ? { override: true } : {}),
|
47537
47537
|
},
|
47538
|
+
// handle non-trailing slash
|
47538
47539
|
{
|
47539
|
-
src: path_1.default.join('^/', entryDirectory, '((?!_next/)
|
47540
|
+
src: path_1.default.join('^/', entryDirectory, '((?!_next/)(?:.*[^/]|.*))/?$'),
|
47540
47541
|
has: [
|
47541
47542
|
{
|
47542
47543
|
type: 'header',
|
package/dist/server-build.js
CHANGED
@@ -511,8 +511,9 @@ async function serverBuild({ dynamicPages, pagesDir, config = {}, privateOutputs
|
|
511
511
|
continue: true,
|
512
512
|
...(isOverride ? { override: true } : {}),
|
513
513
|
},
|
514
|
+
// handle non-trailing slash
|
514
515
|
{
|
515
|
-
src: path_1.default.join('^/', entryDirectory, '((?!_next/)
|
516
|
+
src: path_1.default.join('^/', entryDirectory, '((?!_next/)(?:.*[^/]|.*))/?$'),
|
516
517
|
has: [
|
517
518
|
{
|
518
519
|
type: 'header',
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/next",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.5-canary.0",
|
4
4
|
"license": "MIT",
|
5
5
|
"main": "./dist/index",
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
@@ -70,5 +70,5 @@
|
|
70
70
|
"typescript": "4.5.2",
|
71
71
|
"webpack-sources": "3.2.3"
|
72
72
|
},
|
73
|
-
"gitHead": "
|
73
|
+
"gitHead": "b8b87b96da49fff38435d1e6ae123a721c8d7a4b"
|
74
74
|
}
|