embroidery-viewer/vite.config.js

11 lines
263 B
JavaScript
Raw Permalink Normal View History

2022-11-11 13:57:53 +00:00
import { defineConfig } from "vite";
import { svelte } from "@sveltejs/vite-plugin-svelte";
2022-11-10 20:46:23 +00:00
// https://vitejs.dev/config/
export default defineConfig({
2022-11-11 13:57:53 +00:00
plugins: [svelte()],
2022-11-27 15:34:39 +00:00
define: {
APP_VERSION: JSON.stringify(process.env.npm_package_version),
},
2022-11-11 13:57:53 +00:00
});