mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 02:05:21 -04:00
Use module build of markmap-lib
If we use the default import then webpack will use the "browser" bundle which relies on CDN lazy loading of dependencies. Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
64fe7233e7
commit
bfcb617eeb
4 changed files with 17 additions and 25 deletions
9
src/external-types/markmap-lib/index.d.ts
vendored
Normal file
9
src/external-types/markmap-lib/index.d.ts
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
declare module 'markmap-lib/dist/index.esm' {
|
||||
export * from 'markmap-lib'
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue