docs: update mermaid.core.* JSDoc

Fix typo and add that `mermaid.core.*` is compatible with Vite.
This commit is contained in:
Alois Klink
2022-09-12 06:21:57 +01:00
committed by GitHub
parent 5554725f63
commit 3f76eb0ac2

View File

@@ -47,7 +47,7 @@ exports.esmBuild = (override = { minify: true }) => {
* Build options for mermaid.core.* build. * Build options for mermaid.core.* build.
* *
* This build does not bundle `./node_modules/`, as it is designed to be used * This build does not bundle `./node_modules/`, as it is designed to be used
* with Webpack/ESBuild to merge webpack into a website. * with Webpack/ESBuild/Vite to use mermaid inside an app/website.
* *
* @param {Options} override - Override options. * @param {Options} override - Override options.
* @returns {Options} ESBuild build options. * @returns {Options} ESBuild build options.