Add a strict TypeScript and Vite workspace with reproducible Node, npm, and dependency versions plus Make targets for checking and building it.
15 lines
279 B
TypeScript
15 lines
279 B
TypeScript
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [svelte()],
|
|
build: {
|
|
manifest: true,
|
|
sourcemap: true
|
|
},
|
|
server: {
|
|
proxy: {
|
|
'/api': 'http://127.0.0.1:8080'
|
|
}
|
|
}
|
|
});
|