mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Add bundle analyzer to webpack behind env variable (#2330)
This commit is contained in:
parent
455badb23e
commit
dcedd17f57
6 changed files with 619 additions and 14 deletions
|
@ -30,7 +30,7 @@ import { exportToSvg, exportToBlob } from "@excalidraw/utils";
|
|||
To use it in a browser directly:
|
||||
|
||||
```html
|
||||
<script src="https://unpkg.com/@excalidraw/utils@0.1.0/dist/excalidraw.min.js"></script>
|
||||
<script src="https://unpkg.com/@excalidraw/utils@0.1.0/dist/excalidraw-utils.min.js"></script>
|
||||
<script>
|
||||
// ExcalidrawUtils is a global variable defined by excalidraw.min.js
|
||||
const { exportToSvg, exportToBlob } = ExcalidrawUtils;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue