chore: Fix minify

This commit is contained in:
Sidharth Vinod
2023-08-17 08:22:00 +05:30
parent 5d5c6275f9
commit b26bcf1343
2 changed files with 2 additions and 2 deletions

View File

@@ -49,6 +49,7 @@ export const getBuildConfig = ({
}`]: `src/${file}`, }`]: `src/${file}`,
}, },
metafile, metafile,
minify,
logLevel: 'info', logLevel: 'info',
}); });

View File

@@ -1,5 +1,4 @@
import { log } from './logger.js'; import { log } from './logger.js';
import { SVG } from './diagram-api/types.js';
/** /**
* Applies d3 attributes * Applies d3 attributes
@@ -36,7 +35,7 @@ export const calculateSvgSizeAttrs = function (height, width, useMaxWidth) {
/** /**
* Applies attributes from `calculateSvgSizeAttrs` * Applies attributes from `calculateSvgSizeAttrs`
* *
* @param {SVG} svgElem The SVG Element to configure * @param {import('./diagram-api/types.js').SVG} svgElem The SVG Element to configure
* @param {number} height The height of the SVG * @param {number} height The height of the SVG
* @param {number} width The width of the SVG * @param {number} width The width of the SVG
* @param {boolean} useMaxWidth Whether or not to use max-width and set width to 100% * @param {boolean} useMaxWidth Whether or not to use max-width and set width to 100%