Hello, I'm trying to use this library, for NextJS server-side rendering for a ChartJS plugin that requires Path2D to work. However, when I build the project I get the following error when adding the polyfill.
node_modules\path2d\dist\index.js (468:41) @ applyPath2DToCanvasRenderingContext
TypeError: Cannot assign to readonly property 'clip' of object '#<CanvasRenderingContext2D>'
Hello, I'm trying to use this library, for NextJS server-side rendering for a ChartJS plugin that requires Path2D to work. However, when I build the project I get the following error when adding the polyfill.
Dependency Versions: