···1818 __TWINKL_VERSION__: JSON.stringify(twinklVersion)
1919 },
2020 plugins: [tailwindcss(), sveltekit()],
2121+ ssr: {
2222+ // css-tree loads its data files at runtime via createRequire('../data/patch.json').
2323+ // Bundling it into the server chunk breaks that relative path, so keep it external
2424+ // and let Node resolve it from node_modules where the data files live.
2525+ external: ['css-tree']
2626+ },
2127 server: {
2228 host: '127.0.0.1',
2329 port: 5179