Skip to content

Commit 7a5e9b4

Browse files
committed
Fix worklet import
URL import wasn't working on Chrome because the worklet module wasn't getting bundled, so the drawing import failed.
1 parent b09f6e2 commit 7a5e9b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import SquircleHoudini from "@/squircle-houdini";
22
import SquircleCanvas from "@/squircle-canvas";
3-
import workletUrl from "@/worklet.js?url";
3+
import workletUrl from "@/worklet.js?worker&url";
44
import styles from "@/index.css?inline";
55

66
export * from "./drawing.js";

0 commit comments

Comments
 (0)