We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c63d6c9 commit 39aa297Copy full SHA for 39aa297
packages/open-next/src/build/createAssets.ts
@@ -103,10 +103,10 @@ export function createCacheAssets(options: buildHelper.BuildOptions) {
103
case ".json":
104
case ".body":
105
case ".rsc":
106
- const newFilePath =
107
- absolutePath
108
- .substring(0, absolutePath.length - ext.length)
109
- .replace(/\.prefetch$/, "") + ".cache";
+ const newFilePath = absolutePath
+ .substring(0, absolutePath.length - ext.length)
+ .replace(/\.prefetch$/, "")
+ .concat(".cache");
110
111
cacheFilesPath[newFilePath] = {
112
[ext.slice(1)]: absolutePath,
0 commit comments