vitest/test/stacktraces/vite.config.ts
Vladimir cbf91ba712
fix: always apply vite ssr source maps (#2433)
* fix: always apply vite ssr source maps

* chore: remove non-vite-node source maps from code

* test: source map test

* chore: force esbuild to not generate inline source map

* chore: fix failing text
2022-12-05 18:19:40 +01:00

11 lines
159 B
TypeScript

import { defineConfig } from 'vite'
export default defineConfig({
esbuild: {
sourcemap: 'both',
},
test: {
include: ['test/*.test.ts'],
},
})