mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Co-authored-by: samfreund <techguy763@gmail.com> Co-authored-by: Gold856 <117957790+Gold856@users.noreply.github.com>
34 lines
619 B
TypeScript
34 lines
619 B
TypeScript
import { fileURLToPath, URL } from "node:url";
|
|
|
|
import { defineConfig } from "vite";
|
|
import vue from "@vitejs/plugin-vue";
|
|
import vuetify from "vite-plugin-vuetify";
|
|
|
|
export default defineConfig({
|
|
base: "./",
|
|
plugins: [
|
|
vue(),
|
|
vuetify({
|
|
styles: {
|
|
configFile: "src/assets/styles/settings.scss"
|
|
}
|
|
})
|
|
],
|
|
css: {
|
|
preprocessorOptions: {
|
|
sass: {}
|
|
}
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": fileURLToPath(new URL("./src", import.meta.url))
|
|
}
|
|
},
|
|
build: {
|
|
rollupOptions: {
|
|
external: ["html2canvas", "dompurify", "canvg"]
|
|
},
|
|
sourcemap: true
|
|
}
|
|
});
|