0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00
penpot/frontend/vite.config.js
2024-08-01 15:29:02 +02:00

17 lines
392 B
JavaScript

import { defineConfig } from "vite";
import { configDefaults } from "vitest/config";
import { resolve } from "path";
// https://vitejs.dev/config/
export default defineConfig({
test: {
exclude: [...configDefaults.exclude, "target/**", "resources/**"],
environment: "jsdom",
},
resolve: {
alias: {
"@target": resolve(__dirname, "./target/storybook"),
},
},
});