From 1d83dab27c896de26fe38902eb5740595f7b58ee Mon Sep 17 00:00:00 2001 From: Frank Date: Tue, 7 Nov 2023 11:25:54 -0500 Subject: [PATCH] Handle .map files during bundling cache assets --- .changeset/sixty-falcons-ring.md | 5 +++++ packages/open-next/src/build.ts | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/sixty-falcons-ring.md diff --git a/.changeset/sixty-falcons-ring.md b/.changeset/sixty-falcons-ring.md new file mode 100644 index 00000000..46b58679 --- /dev/null +++ b/.changeset/sixty-falcons-ring.md @@ -0,0 +1,5 @@ +--- +"open-next": patch +--- + +Handle .map files during bundling cache assets diff --git a/packages/open-next/src/build.ts b/packages/open-next/src/build.ts index 4822a119..2b0136bd 100644 --- a/packages/open-next/src/build.ts +++ b/packages/open-next/src/build.ts @@ -461,6 +461,8 @@ function createCacheAssets(monorepoRoot: string, disableDynamoDBCache = false) { ...cacheFilesPath[newFilePath], }; break; + case ".map": + break; default: console.warn(`Unknown file extension: ${ext}`); break;