svelte.config.js 385 B

123456789101112131415161718
  1. import adapter from '@sveltejs/adapter-node';
  2. import preprocess from 'svelte-preprocess';
  3. /** @type {import('@sveltejs/kit').Config} */
  4. const config = {
  5. preprocess: preprocess(),
  6. onwarn: (warning, handler) => {
  7. if (warning.code.includes('a11y')) {
  8. return;
  9. }
  10. handler(warning);
  11. },
  12. kit: {
  13. adapter: adapter({ out: 'build' }),
  14. },
  15. };
  16. export default config;