- Remove duplicate lucide-svelte package, keep @lucide/svelte - Move schema from src/lib/server/ to src/lib/db/ for better organization - Add path aliases to svelte.config.js (, , , , ) - Add ESLint and Prettier configuration with 2-space indentation - Update all imports to use new schema location and icon package
25 lines
562 B
JavaScript
25 lines
562 B
JavaScript
import adapter from '@sveltejs/adapter-node';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://svelte.dev/docs/kit/integrations
|
|
// for more information about preprocessors
|
|
preprocess: vitePreprocess(),
|
|
|
|
kit: {
|
|
adapter: adapter({
|
|
out: 'build'
|
|
}),
|
|
alias: {
|
|
'$db': './src/lib/db',
|
|
'$components': './src/lib/components',
|
|
'$utils': './src/lib/utils',
|
|
'$stores': './src/lib/stores',
|
|
'$i18n': './src/lib/i18n'
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|