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:
Tilman Vatteroth 2021-04-15 22:04:04 +02:00
parent 64fe7233e7
commit bfcb617eeb
4 changed files with 17 additions and 25 deletions

View 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'
}