From 53fe35e37e8131feacfc5d330461d9fa783f01a1 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Fri, 2 Sep 2022 00:36:01 +0530 Subject: [PATCH] Add webpack build --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 10520392c..95df116b9 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "clean": "rimraf dist", "build:code": "node .esbuild/esbuild.cjs", "build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly", + "build:webpack": "webpack --mode production --progress --color", "build": "yarn clean; concurrently \"yarn build:code\" \"yarn build:types\"", "postbuild": "documentation build src/mermaidAPI.ts src/config.ts src/defaultConfig.ts --shallow -f md --markdown-toc false > docs/Setup.md", "build:watch": "yarn build:code --watch",