Add build script

This commit is contained in:
Jon Staab
2024-10-22 17:07:49 -07:00
parent 64dd608cc2
commit c585eb4361
4 changed files with 19 additions and 8 deletions
+1 -6
View File
@@ -4,12 +4,7 @@ import {defineConfig, minimalPreset as preset} from '@vite-pwa/assets-generator/
dotenv.config({path: '.env.local'})
dotenv.config({path: '.env'})
let logoPath = process.env.VITE_PLATFORM_LOGO
if (logoPath.startsWith('https://')) {
}
export default defineConfig({
preset,
images: [logoPath],
images: [process.env.VITE_PLATFORM_LOGO],
})