local excalidraw assets

This commit is contained in:
Martin Kavík 2024-10-08 22:34:32 +02:00
parent 356a59fa22
commit f05c489d62
123 changed files with 12659 additions and 1 deletions

View file

@ -13,3 +13,13 @@ Created with commands:
- `npm i -E roughjs @excalidraw/laser-pointer jotai browser-fs-access`
- `npm i -D esbuild typescript`
- `locales/en.json` downloaded from `https://raw.githubusercontent.com/excalidraw/excalidraw/refs/tags/v0.17.6/src/locales/en.json`
- `excalidraw-assets-dev` and `excalidraw-assets` from `FastWave2.0\frontend\typescript\excalidraw_canvas\node_modules\@excalidraw\excalidraw\dist` copied into `FastWave2.0\public\excalidraw`
- Lines added to `FastWave2.0\backend\globals.js`:
```js
// -- Excalidraw settings --
// @TODO replace with "true" once Preact is integrated into ExcalidrawCanvas
var process = { env: { IS_PREACT: "false" } };
// @TODO probably remove or update once Preact is integrated into ExcalidrawCanvas
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = { isDisabled: true };
window.EXCALIDRAW_ASSET_PATH = "/_api/public/excalidraw/";
```