0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -05:00
penpot/frontend/vite.config.js

19 lines
392 B
JavaScript
Raw Normal View History

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