fix: Support treeshaking

This commit is contained in:
Sidharth Vinod
2022-09-09 16:58:48 +05:30
parent b1770d3d06
commit d2e7b1e56f
3 changed files with 3 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ import { log } from './logger';
import { detectType } from './diagram-api/detectType';
import assignWithDepth from './assignWithDepth';
import { MermaidConfig } from './config.type';
import { memoize } from 'lodash';
import memoize from 'lodash/memoize';
// Effectively an enum of the supported curve types, accessible by name
const d3CurveTypes = {