From a4e95e967e0f83817ed13b3b6b9e0c338affa537 Mon Sep 17 00:00:00 2001 From: Derek Ellis Date: Wed, 17 Jul 2024 11:52:44 -0400 Subject: [PATCH] Fix packaging of icons in distributable builds --- package.json | 2 +- vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4bac7290b3..ca86efd790 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "otrainmap", - "version": "3.5.5", + "version": "3.5.6", "description": "", "private": true, "type": "module", diff --git a/vite.config.ts b/vite.config.ts index 350deb001a..848b9678b9 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -8,7 +8,7 @@ export default defineConfig({ plugins: [ react(), viteStaticCopy({ - targets: [{ src: "build/*", dest: "" }], + targets: [{ src: "build/*", dest: "" }, {src: "icons/**", dest: "icons" }], }), ], define: {