Files
CartoLite-Server/web/vite.config.ts
T
n30nex 2dbe31dfe9 Port recent CartoLite updates and add worldwide Netgraph (#6)
* Bring CartoLite visuals and recovery to the worldwide server with Netgraph

* Remove remaining country-overlay cleanup references

* Align the CI container identity with the integration checks

* Exercise worldwide grid areas in the large-topology benchmark
2026-09-05 21:38:55 -04:00

25 lines
600 B
TypeScript

import { defineConfig } from 'vitest/config';
function inputPath(relative: string): string {
const pathname = decodeURIComponent(new URL(relative, import.meta.url).pathname);
return /^\/[A-Za-z]:\//.test(pathname) ? pathname.slice(1) : pathname;
}
export default defineConfig({
build: {
target: 'es2022',
assetsInlineLimit: 0,
chunkSizeWarningLimit: 500,
rolldownOptions: {
input: {
main: inputPath('index.html'),
netgraph: inputPath('netgraph/index.html')
}
}
},
test: {
environment: 'jsdom',
include: ['src/**/*.test.ts']
}
});