fix: add .js to external imports.

This commit is contained in:
Sidharth Vinod
2022-12-13 00:22:57 +05:30
parent fac3a4d29b
commit 89451ca640
4 changed files with 10 additions and 9 deletions

View File

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