@vercel/redwood 1.0.7 → 1.0.8
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 +4 -6
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -207,12 +207,10 @@ const build = async ({ workPath, files, entrypoint, meta = {}, config = {}, }) =
|
|
|
207
207
|
? '/200'
|
|
208
208
|
: '/index';
|
|
209
209
|
const defaultRoutesConfig = (0, routing_utils_1.getTransformedRoutes)({
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
trailingSlash: false,
|
|
215
|
-
},
|
|
210
|
+
// this makes sure we send back 200.html for unprerendered pages
|
|
211
|
+
rewrites: [{ source: '/(.*)', destination: fallbackHtmlPage }],
|
|
212
|
+
cleanUrls: true,
|
|
213
|
+
trailingSlash: false,
|
|
216
214
|
});
|
|
217
215
|
if (defaultRoutesConfig.error) {
|
|
218
216
|
throw new Error(defaultRoutesConfig.error.message);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/redwood",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://vercel.com/docs",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@vercel/nft": "0.20.1",
|
|
24
|
-
"@vercel/routing-utils": "
|
|
24
|
+
"@vercel/routing-utils": "2.0.0",
|
|
25
25
|
"semver": "6.1.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/aws-lambda": "8.10.19",
|
|
29
29
|
"@types/node": "*",
|
|
30
30
|
"@types/semver": "6.0.0",
|
|
31
|
-
"@vercel/build-utils": "5.0.
|
|
31
|
+
"@vercel/build-utils": "5.0.3"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "bef1aec76609ae661f084dcc391edd66f891f0b4"
|
|
34
34
|
}
|