Skip to content

Commit

Permalink
chore: Fix outfile names
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Aug 14, 2023
1 parent 5c2a6b5 commit 4fd7a88
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .esbuild/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ const buildOptions = (override: BuildOptions): BuildOptions => {
const getFileName = (fileName: string, { core, format, minify }: MermaidBuildOptions) => {
if (core) {
fileName += '.core';
}
if (format === 'esm') {
} else if (format === 'esm') {
fileName += '.esm';
}
if (minify) {
Expand Down
1 change: 1 addition & 0 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"nikolay",
"nirname",
"orlandoni",
"outdir",
"pathe",
"pbrolin",
"phpbb",
Expand Down
1 change: 1 addition & 0 deletions packages/mermaid-zenuml/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"mermaid"
],
"scripts": {
"clean": "rimraf dist",
"prepublishOnly": "pnpm -w run build"
},
"repository": {
Expand Down

0 comments on commit 4fd7a88

Please sign in to comment.