Skip to content

Commit

Permalink
Fix filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Feb 24, 2023
1 parent f2d7e69 commit ce5a1e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .esbuild/util.ts
Expand Up @@ -70,7 +70,7 @@ export const getBuildConfig = ({
let output: BuildOptions = buildOptions({
absWorkingDir: resolve(__dirname, `../packages/${packageName}`),
entryPoints: {
[`${name}.esm${core ? '.core' : ''}${minify ? '.min' : ''}`]: `src/${file}`,
[`${name}${core ? '.core' : '.esm'}${minify ? '.min' : ''}`]: `src/${file}`,
},
metafile,
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -20,7 +20,7 @@
"build:viz": "pnpm build:mermaid --visualize",
"build:types": "tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-example-diagram/tsconfig.json --emitDeclarationOnly",
"build:watch": "pnpm build:esbuild --watch",
"build": "pnpm run -r clean && pnpm build:types && pnpm build:esbuild",
"build": "pnpm run -r clean && pnpm build:esbuild && pnpm build:types",
"dev": "ts-node-esm --transpileOnly .esbuild/server.ts",
"release": "pnpm build",
"lint": "eslint --cache --cache-strategy content --ignore-path .gitignore . && pnpm lint:jison && prettier --cache --check .",
Expand Down
2 changes: 1 addition & 1 deletion packages/mermaid/package.json
@@ -1,6 +1,6 @@
{
"name": "mermaid",
"version": "10.0.1-rc.1",
"version": "10.0.1-rc.2",
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
"type": "module",
"module": "./dist/mermaid.core.mjs",
Expand Down

0 comments on commit ce5a1e7

Please sign in to comment.