Files
skeleton/svelte.config.js
Nik 99ea3cbe77 Feat/migrate to new package process (#1170)
* 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>
2023-04-03 12:42:43 -05:00

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;