@vercel/next 3.9.2 → 3.9.3

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -41589,7 +41589,7 @@ const build = async ({ files, workPath, repoRootPath, entrypoint, config = {}, m
41589
41589
  });
41590
41590
  const canUsePreviewMode = Object.keys(pages).some(page => (0, utils_1.isApiPage)(pages[page].fsPath));
41591
41591
  const originalStaticPages = await (0, build_utils_1.glob)('**/*.html', pagesDir);
41592
- staticPages = await (0, utils_1.filterStaticPages)(originalStaticPages, dynamicPages, entryDirectory, exports.htmlContentType, prerenderManifest, routesManifest);
41592
+ staticPages = (0, utils_1.filterStaticPages)(originalStaticPages, dynamicPages, entryDirectory, exports.htmlContentType, prerenderManifest, routesManifest);
41593
41593
  hasStatic500 = !!staticPages[path_1.default.posix.join(entryDirectory, '500')];
41594
41594
  // this can be either 404.html in latest versions
41595
41595
  // or _errors/404.html versions while this was experimental
@@ -42708,6 +42708,7 @@ async function getServerlessPages(params) {
42708
42708
  ? Promise.all([
42709
42709
  (0, build_utils_1.glob)('**/page.js', path_1.default.join(params.pagesDir, '../app')),
42710
42710
  (0, build_utils_1.glob)('**/route.js', path_1.default.join(params.pagesDir, '../app')),
42711
+ (0, build_utils_1.glob)('**/_not-found.js', path_1.default.join(params.pagesDir, '../app')),
42711
42712
  ]).then(items => Object.assign(...items))
42712
42713
  : Promise.resolve({}),
42713
42714
  (0, utils_1.getMiddlewareManifest)(params.entryPath, params.outputDirectory),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "3.9.2",
3
+ "version": "3.9.3",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",