phase-7: code restructure
This commit is contained in:
+8
-1
@@ -1,5 +1,12 @@
|
||||
import adapter from '@sveltejs/adapter-auto';
|
||||
|
||||
export default {
|
||||
kit: { adapter: adapter() },
|
||||
kit: {
|
||||
adapter: adapter(),
|
||||
// $types → server/types/ — lets UI import shared domain types without duplication.
|
||||
// SvelteKit auto-wires this into both Vite's resolve.alias and the generated tsconfig.
|
||||
alias: {
|
||||
$types: '../server/types',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user