Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

svelte.config.js 528 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  1. import adapter from "@sveltejs/adapter-node";
  2. import { vitePreprocess } from "@sveltejs/kit/vite";
  3. import dotenv from "dotenv";
  4. dotenv.config({ path: "./.env.local" });
  5. dotenv.config({ path: "./.env" });
  6. /** @type {import('@sveltejs/kit').Config} */
  7. const config = {
  8. // Consult https://kit.svelte.dev/docs/integrations#preprocessors
  9. // for more information about preprocessors
  10. preprocess: vitePreprocess(),
  11. kit: {
  12. adapter: adapter(),
  13. paths: {
  14. base: process.env.APP_BASE || "",
  15. },
  16. },
  17. };
  18. export default config;
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...