Skip to content

Commit

Permalink
Handle .map files during bundling cache assets
Browse files Browse the repository at this point in the history
  • Loading branch information
fwang committed Nov 7, 2023
1 parent e32af92 commit 1d83dab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sixty-falcons-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"open-next": patch
---

Handle .map files during bundling cache assets
2 changes: 2 additions & 0 deletions packages/open-next/src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,8 @@ function createCacheAssets(monorepoRoot: string, disableDynamoDBCache = false) {
...cacheFilesPath[newFilePath],
};
break;
case ".map":
break;
default:
console.warn(`Unknown file extension: ${ext}`);
break;
Expand Down

1 comment on commit 1d83dab

@vercel
Copy link

@vercel vercel bot commented on 1d83dab Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

open-next – ./

open-next.vercel.app
open-next-git-main-sst-dev.vercel.app
open-next-sst-dev.vercel.app

Please sign in to comment.