8000 fix(cloudflare): pass through custom loaders to bundleWorker · sam-goodwin/alchemy@fca7cba · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit fca7cba

Browse files
committed
fix(cloudflare): pass through custom loaders to bundleWorker
1 parent 4f1bf61 commit fca7cba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

alchemy/src/cloudflare/bundle/bundle-worker.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ export async function bundleWorkerScript<B extends Bindings>(
4848
loader: {
4949
".sql": "text",
5050
".json": "json",
51+
...props.bundle?.loader,
52+
...props.bundle?.options?.loader,
5153
},
5254
plugins: [
5355
...(props.bundle?.plugins ?? []),

0 commit comments

Comments
 (0)
0