41795d1827
- Install dependencies: date-fns, @vite-pwa/sveltekit, workbox-window - Configure Vite with PWA support and manifest - Update SvelteKit config for static adapter with fallback - Create environment files (.env, .env.example, .env.production) - Create directory structure for lib, components, routes - Add JSDoc type definitions for Task, User, AuthTokens, etc. - Add utility functions: storage (localStorage wrapper), uuid, dates, sync-queue - Configure PWA with icons, theme colors, and caching strategies
20 lines
309 B
JavaScript
20 lines
309 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
kit: {
|
|
adapter: adapter({
|
|
pages: 'build',
|
|
assets: 'build',
|
|
fallback: 'index.html',
|
|
precompress: false,
|
|
strict: true
|
|
}),
|
|
paths: {
|
|
base: ''
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|