sticky-notes/svelte.config.js

19 lines
387 B
JavaScript
Raw Permalink Normal View History

2023-09-11 05:49:56 +08:00
import adapter from '@sveltejs/adapter-static';
2024-03-24 02:22:16 +08:00
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
2023-09-11 05:49:56 +08:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: vitePreprocess(),
kit: {
2023-09-11 06:14:54 +08:00
adapter: adapter({
fallback: 'index.html',
}),
2023-09-11 05:49:56 +08:00
alias: {
$styles: 'src/styles/*',
2023-09-11 05:49:56 +08:00
$icon: 'src/assets/fontawesome/light/*',
},
},
};
export default config;