Add bundle analyzer to webpack behind env variable (#2330)

This commit is contained in:
Aakansha Doshi
2020-11-05 01:08:16 +05:30
committed by GitHub
parent 455badb23e
commit dcedd17f57
6 changed files with 619 additions and 14 deletions
+1 -1
View File
@@ -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;