Skip to content

Commit

Permalink
chore: Fix minify
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Aug 17, 2023
1 parent 5d5c627 commit b26bcf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .esbuild/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const getBuildConfig = ({
}`]: `src/${file}`,
},
metafile,
minify,
logLevel: 'info',
});

Expand Down
3 changes: 1 addition & 2 deletions packages/mermaid/src/setupGraphViewbox.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { log } from './logger.js';
import { SVG } from './diagram-api/types.js';

/**
* Applies d3 attributes
Expand Down Expand Up @@ -36,7 +35,7 @@ export const calculateSvgSizeAttrs = function (height, width, useMaxWidth) {
/**
* 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} width The width of the SVG
* @param {boolean} useMaxWidth Whether or not to use max-width and set width to 100%
Expand Down

0 comments on commit b26bcf1

Please sign in to comment.