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 2018756 commit f1cc83cCopy full SHA for f1cc83c
packages/cloudflare/src/cli/build/patches/plugins/node-module-loader.ts
@@ -36,7 +36,9 @@ async function getRule(buildOpts: BuildOptions) {
36
pagesManifests = [];
37
}
38
39
- const files = pagesManifests.map((path) => normalizePath(path));
+ const manifests = pagesManifests.map((path) => normalizePath(path));
40
+
41
+ const files = manifests.filter((file) => file.endsWith(".js"));
42
43
// Inline fs access and dynamic requires that are not supported by workerd.
44
const fnBody = `
0 commit comments