From 0fcf83bc5854842dce4dc3771d292050729f7469 Mon Sep 17 00:00:00 2001 From: Cameron James Date: Tue, 24 Oct 2023 14:06:10 -0700 Subject: [PATCH] Copy index.html to /dist after bundling app --- ui/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/package.json b/ui/package.json index ebe0e76..1c8004e 100644 --- a/ui/package.json +++ b/ui/package.json @@ -24,7 +24,8 @@ }, "scripts": { "compile": "tsc -b", - "bundle": "rollup -c", - "all": "npm run compile && npm run bundle" + "bundle": "rollup -c && npm run copy-app", + "copy-app": "cp ./index.html ./dist", + "build": "npm run compile && npm run bundle" } }