Files
sweet/packages/plugin-vite/demo/routes/tests/throw.tsx
T
Marvin Hagemeister f5c0f16878 fix(vite): source mapping locations (#3624)
Mappings were wrong for a few reasons:
- Missing source map generation in one babel transform
- setting `compact: false` causes vite to generate incorrect mappings in
`vite:import-analysis`
- stack traces need to be mapped by vite

Fixes https://github.com/denoland/fresh/issues/3609
2025-11-18 11:40:52 +01:00

8 lines
131 B
TypeScript

import { define } from "../../utils.ts";
export const handler = define.handlers({
GET() {
throw new Error("FAIL");
},
});