chore: Add clean to build:esbuild

This commit is contained in:
Sidharth Vinod 2023-08-13 18:03:01 +05:30
parent f640b711ef
commit 398969154a
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD

View File

@ -15,8 +15,8 @@
"git graph"
],
"scripts": {
"build": "pnpm run -r clean && pnpm build:esbuild && pnpm build:types",
"build:esbuild": "ts-node-esm --transpileOnly .esbuild/build.ts",
"build": "pnpm build:esbuild && pnpm build:types",
"build:esbuild": "pnpm run -r clean && ts-node-esm --transpileOnly .esbuild/build.ts",
"build:mermaid": "pnpm build:esbuild --mermaid",
"build:viz": "pnpm build:esbuild --visualize",
"build:types": "tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-zenuml/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-example-diagram/tsconfig.json --emitDeclarationOnly",