Skip to content

Commit

Permalink
Fix worklet import
Browse files Browse the repository at this point in the history
URL import wasn't working on Chrome because the worklet module wasn't
getting bundled, so the drawing import failed.
  • Loading branch information
tim-harding committed Oct 17, 2024
1 parent b09f6e2 commit 7a5e9b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import SquircleHoudini from "@/squircle-houdini";
import SquircleCanvas from "@/squircle-canvas";
import workletUrl from "@/worklet.js?url";
import workletUrl from "@/worklet.js?worker&url";
import styles from "@/index.css?inline";

export * from "./drawing.js";
Expand Down

0 comments on commit 7a5e9b4

Please sign in to comment.