feat: add canvas-roundrect-polyfill package (#6675)

* feat: add canvas-roundrect-polyfill instead of maintaining a copy of it and transplile it since its not transpiled in the package

* transform canvas-roundrect-polyfill in jest
This commit is contained in:
Aakansha Doshi 2023-06-14 17:26:29 +05:30 committed by GitHub
parent 1747e93957
commit 4d7d96eb7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 360 deletions

View file

@ -56,7 +56,7 @@ import {
getLinkHandleFromCoords,
} from "../element/Hyperlink";
import { isLinearElement } from "../element/typeChecks";
import "./roundRect.polyfill";
import "canvas-roundrect-polyfill";
export const DEFAULT_SPACING = 2;