Commit Graph

5 Commits

Author SHA1 Message Date
Sidharth Vinod f422a66dde
refactor: Move `sanitizeDirective` into `addDirective` 2023-08-21 10:17:55 +05:30
Remco Haszing b7d31adda4
Support node16 module resolution
The `node16` module resolution requires imports to use the `.js` file
extension in type definitions.

`@rollup/plugin-typescript` is needed to make this work with the Vite
setup used by Mermaid.

The module option for Mermaid internally is set to `nodenext`. This is
needed to support `.json` imports. Note that setting `module` to
`node16` or `nodenext` implies a matching `moduleResolution` value.
2023-03-11 14:54:21 +01:00
ashishj 49ce5222c9 Lint Fixes 2023-01-25 17:49:35 +01:00
ashishj be818ad57f Pushing fix for broken themeVariable functionality 2023-01-19 20:30:11 +01:00
ashishj 652a42fe1a Add directive parsing functionality to timeline diagram 2023-01-19 19:03:05 +01:00