Skip to content

Commit 39aa297

Browse files
committed
fixup!
1 parent c63d6c9 commit 39aa297

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/open-next/src/build/createAssets.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ export function createCacheAssets(options: buildHelper.BuildOptions) {
103103
case ".json":
104104
case ".body":
105105
case ".rsc":
106-
const newFilePath =
107-
absolutePath
108-
.substring(0, absolutePath.length - ext.length)
109-
.replace(/\.prefetch$/, "") + ".cache";
106+
const newFilePath = absolutePath
107+
.substring(0, absolutePath.length - ext.length)
108+
.replace(/\.prefetch$/, "")
109+
.concat(".cache");
110110

111111
cacheFilesPath[newFilePath] = {
112112
[ext.slice(1)]: absolutePath,

0 commit comments

Comments
 (0)