mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
chore: post publish docs & examples changes (#9217)
This commit is contained in:
parent
d587b8a3de
commit
69bc5bdaab
18 changed files with 256 additions and 388 deletions
|
@ -9,9 +9,9 @@ export class ExcalidrawFontFace {
|
|||
public readonly fontFace: FontFace;
|
||||
|
||||
private static readonly ASSETS_FALLBACK_URL = `https://esm.sh/${
|
||||
import.meta.env.VITE_PKG_NAME
|
||||
? `${import.meta.env.VITE_PKG_NAME}@${import.meta.env.VITE_PKG_VERSION}` // should be provided by vite during package build
|
||||
: "@excalidraw/excalidraw" // fallback to latest package version (i.e. for app)
|
||||
import.meta.env.PKG_NAME
|
||||
? `${import.meta.env.PKG_NAME}@${import.meta.env.PKG_VERSION}` // is provided during package build
|
||||
: "@excalidraw/excalidraw" // fallback to the latest package version (i.e. for app)
|
||||
}/dist/prod/`;
|
||||
|
||||
constructor(family: string, uri: string, descriptors?: FontFaceDescriptors) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue