93c577c5d3
Snapshot de l'existant avant application du playbook OKI : background shader Three.js, carte graphe 3D, timeline statique.
22 lines
594 B
JavaScript
22 lines
594 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: vitePreprocess(),
|
|
kit: {
|
|
adapter: adapter({
|
|
pages: 'build',
|
|
assets: 'build',
|
|
fallback: undefined,
|
|
precompress: false,
|
|
strict: true
|
|
})
|
|
// Déployé à la racine de https://syel.o-k-i.net (YunoHost / nginx) —
|
|
// pas de paths.base. La CSP est gérée par build/nginx-csp.conf (snippet
|
|
// généré au build, à inclure dans la config nginx de l'app).
|
|
}
|
|
};
|
|
|
|
export default config;
|