From c9d816b3b8ad2641b742b51694e09e4eeb7b157e Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Tue, 13 May 2025 17:10:46 +0200 Subject: [PATCH] testapp: update build script to include copying public assets to dist/testapp --- testapp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testapp/package.json b/testapp/package.json index d99ab6d..5618fdb 100644 --- a/testapp/package.json +++ b/testapp/package.json @@ -4,7 +4,7 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "tsc --rootDir ../", + "build": "tsc --rootDir ../ && cp -r public ./dist/testapp", "build:watch": "tsc --watch", "start": "node dist/testapp/src/index.js", "dev:server": "ts-node-dev --respawn --watch src,public/ts,public/views src/index.ts",