Skip to content

Commit 325d22e

Browse files
authored
Add fallthrough: true to python-modules .so glob rule (#10779)
1 parent 5446135 commit 325d22e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/metal-needles-hope.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
Add fallthrough: true for python_modules data rule

packages/wrangler/src/deployment-bundle/find-additional-modules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export async function findAdditionalModules(
168168
entry.projectRoot
169169
);
170170
const vendoredRules: Rule[] = [
171-
{ type: "Data", globs: ["**/*.so", "**/*.py"] },
171+
{ type: "Data", globs: ["**/*"], fallthrough: true },
172172
];
173173
const vendoredModules = (
174174
await matchFiles(

0 commit comments

Comments
 (0)