From 98c117f0b8ca96fc07cea38c4bfab1a59b516479 Mon Sep 17 00:00:00 2001 From: advplyr Date: Tue, 2 May 2023 17:28:47 -0500 Subject: [PATCH] Add static dir to pkg --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5f39c64a0..73b461c66 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "dev": "nodemon --watch server index.js", "start": "node index.js", - "client": "cd client && npm ci && npm run generate", + "client": "cd client && npm ci && npm run build", "prod": "npm run client && npm ci && node prod.js", "build-win": "npm run client && pkg -t node16-win-x64 -o ./dist/win/audiobookshelf -C GZip .", "build-linux": "build/linuxpackager", @@ -24,6 +24,7 @@ "client/nuxt.config.js", "client/package.json", "client/modules/**/*", + "client/static/**/*", "server/Db.js" ], "scripts": [ @@ -45,4 +46,4 @@ "devDependencies": { "nodemon": "^2.0.20" } -} +} \ No newline at end of file