mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-24 17:59:39 +02:00
Correct name umd
-> iife
This commit is contained in:
@@ -42,7 +42,7 @@ exports.esmBuild = (override = { minify: true }) => {
|
||||
* @param {Options & { core?: boolean }} override
|
||||
* @returns {Options}
|
||||
*/
|
||||
exports.umdBuild = (override = { minify: true, core: false }) => {
|
||||
exports.iifeBuild = (override = { minify: true, core: false }) => {
|
||||
const core = override.core;
|
||||
if (core && override.minify) {
|
||||
throw new Error('Cannot minify core build');
|
||||
|
Reference in New Issue
Block a user