mirror of
https://github.com/LukeHagar/skeleton.git
synced 2025-12-06 12:47:44 +00:00
* svelte-migrate + script updates * tweaks * First test done * Stragglers * Add Prettier config to post-build gen * Added keywords for display on npmjs * Back out the a11y fixes * Git gud * Updated package lock file * Fix the NPM publish script path * Resolve package script command --------- Co-authored-by: endigo9740 <gundamx9740@gmail.com>
25 lines
581 B
JavaScript
25 lines
581 B
JavaScript
import adapter from '@sveltejs/adapter-auto';
|
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
|
import path from 'path';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://github.com/sveltejs/svelte-preprocess
|
|
// for more information about preprocessors
|
|
preprocess: [
|
|
vitePreprocess({
|
|
postcss: true
|
|
})
|
|
],
|
|
kit: {
|
|
adapter: adapter(),
|
|
// https://kit.svelte.dev/docs/configuration#alias
|
|
alias: {
|
|
'@skeletonlabs/skeleton': path.resolve('./src/lib/index.ts'),
|
|
$docs: path.resolve('./src/docs')
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|