sticky-notes/svelte.config.js

19 lines
377 B
JavaScript
Raw Normal View History

2023-09-11 05:49:56 +08:00
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @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;