File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import fs from "node:fs";
2
2
import path from "node:path" ;
3
3
4
4
import logger from "../logger.js" ;
5
- import type { TagCacheMetaFile } from "../types/open-next .js" ;
5
+ import type { TagCacheMetaFile } from "../types/cache .js" ;
6
6
import { isBinaryContentType } from "../utils/binary.js" ;
7
7
import * as buildHelper from "./helper.js" ;
8
8
@@ -56,7 +56,7 @@ export function createStaticAssets(options: buildHelper.BuildOptions) {
56
56
* Create the cache assets.
57
57
*
58
58
* @param options Build options.
59
- * @returns Whether tag cache is used.
59
+ * @returns Whether the tag cache is used, and the meta files collected .
60
60
*/
61
61
export function createCacheAssets ( options : buildHelper . BuildOptions ) {
62
62
logger . info ( "Bundling cache assets..." ) ;
Original file line number Diff line number Diff line change @@ -75,3 +75,9 @@ export interface Meta {
75
75
headers ?: Record < string , undefined | string | string [ ] > ;
76
76
postponed ?: string ;
77
77
}
78
+
79
+ export type TagCacheMetaFile = {
80
+ tag : { S : string } ;
81
+ path : { S : string } ;
82
+ revalidatedAt : { N : string } ;
83
+ } ;
Original file line number Diff line number Diff line change @@ -447,9 +447,3 @@ export interface OpenNextConfig {
447
447
*/
448
448
edgeExternals ?: string [ ] ;
449
449
}
450
-
451
- export type TagCacheMetaFile = {
452
- tag : { S : string } ;
453
- path : { S : string } ;
454
- revalidatedAt : { N : string } ;
455
- } ;
You can’t perform that action at this time.
0 commit comments