* working on moving the email logic to the backend * Moved nodemailer to the backend * uninstall defer * updated relative import path in tsconfig * working on the zod validation * Merge branch 'main' into send-email * fixed the zod import issue * fixed the zod import issue * updated the env example files * docs: update README.md (#249) * fix: handle catex error * chore: remove fly.io github action * Update README.md Updated the Readme to reflect changes made to the emailing flow --------- Co-authored-by: Rotimi Best <[email protected]> * chore: wrapp up email sending --------- Co-authored-by: Rotimi Best <[email protected]>
21 lines
527 B
JavaScript
21 lines
527 B
JavaScript
import { vitePreprocess } from '@sveltejs/kit/vite';
|
|
import vercelAdapter from '@sveltejs/adapter-vercel';
|
|
import path from 'path';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
|
// for more information about preprocessors
|
|
preprocess: [vitePreprocess({})],
|
|
|
|
kit: {
|
|
adapter: vercelAdapter(),
|
|
alias: {
|
|
$lib: path.resolve('./src/lib'),
|
|
$nodemailer: path.resolve('./src/nodemailer')
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|