Fx issues with esbuild

This commit is contained in:
Marcel Mraz 2025-03-24 13:54:45 +01:00
parent 4a182f985b
commit 033fcfea14
No known key found for this signature in database
GPG key ID: 4EBD6E62DC830CD2
4 changed files with 6 additions and 8 deletions

View file

@ -12,9 +12,9 @@ import {
import type { Curve } from "@excalidraw/math";
import { pointInEllipse, pointOnEllipse, type GeometricShape } from "./shape";
import { pointInEllipse, pointOnEllipse } from "./shape";
import type { Polycurve, Polyline } from "./shape";
import type { Polycurve, Polyline, GeometricShape } from "./shape";
// check if the given point is considered on the given shape's border
export const isPointOnShape = <Point extends GlobalPoint | LocalPoint>(

View file

@ -11,6 +11,7 @@
* also included in this file are methods for converting an Excalidraw element or a Drawable from roughjs
* to pure shapes
*/
import { pointsOnBezierCurves } from "points-on-curve";
import { invariant } from "@excalidraw/common";
import {
@ -32,7 +33,6 @@ import {
type GlobalPoint,
type LocalPoint,
} from "@excalidraw/math";
import { pointsOnBezierCurves } from "points-on-curve";
import { getElementAbsoluteCoords } from "@excalidraw/element/bounds";