diff --git a/frontend/excalidraw-diag4.html b/frontend/excalidraw-diag4.html index ff6c474..603e649 100644 --- a/frontend/excalidraw-diag4.html +++ b/frontend/excalidraw-diag4.html @@ -51,7 +51,7 @@ class ErrorBoundary extends React.Component { try { window.EXCALIDRAW_ASSET_PATH = 'https://esm.sh/@excalidraw/excalidraw@0.18.0/dist/prod/'; - const ExcalidrawLib = await import('@excalidraw/excalidraw@0.18.0'); + const ExcalidrawLib = await import('https://esm.sh/@excalidraw/excalidraw@0.18.0?alias=react:react@18.3.1,react-dom:react-dom@18.3.1'); const { Excalidraw } = ExcalidrawLib; add('Excalidraw loaded', 'pass'); diff --git a/frontend/excalidraw-editor.html b/frontend/excalidraw-editor.html index df57b8a..c5debc6 100644 --- a/frontend/excalidraw-editor.html +++ b/frontend/excalidraw-editor.html @@ -107,7 +107,7 @@