We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6032493 commit 3ff4909Copy full SHA for 3ff4909
packages/open-next/src/build/copyTracedFiles.ts
@@ -156,11 +156,10 @@ See the docs for more information on how to bundle edge runtime functions.
156
//Actually copy the files
157
filesToCopy.forEach((to, from) => {
158
if (
159
- from.includes("node_modules") &&
160
//TODO: we need to figure which packages we could safely remove
161
- (from.includes("caniuse-lite") ||
162
- // from.includes("jest-worker") || This ones seems necessary for next 12
163
- from.includes("sharp"))
+ from.includes(path.join("node_modules", "caniuse-lite")) ||
+ // from.includes("jest-worker") || This ones seems necessary for next 12
+ from.includes(path.join("node_modules", "sharp"))
164
) {
165
return;
166
}
0 commit comments