Publish Untrace Desktop 1.6.1 with offline batch workflows

This commit is contained in:
Dario P. committed 2026-10-25 01:22:14 +02:00
1 parent 99b4b22352
commit 7ce81b0727
47 files changed
+5958 -1208

No files matched your search

+14 -1
View File
@@ -1,10 +1,23 @@
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
import { readFileSync } from 'node:fs'
import { THEMES, bootstrapTheme } from './src/lib/theme-catalog.js'
const packageInfo = JSON.parse(readFileSync('./package.json', 'utf8'))
const brand = JSON.parse(readFileSync('./desktop/brand.json', 'utf8'))
// https://vitejs.dev/config/
export default defineConfig({
plugins: [svelte()],
plugins: [svelte(), {
name: 'theme-startup',
transformIndexHtml: {
order: 'pre',
handler: html => html.replace('/* theme-bootstrap */', `(${bootstrapTheme.toString()})(${JSON.stringify(THEMES)});`),
},
}],
define: { __APP_VERSION__: JSON.stringify(packageInfo.version), __APP_NAME__: JSON.stringify(brand.name) },
base: '/',
worker: { format: 'es' },
build: {
outDir: 'dist',
assetsDir: 'assets',