Update svelte.config.js
Browse files- svelte.config.js +2 -2
svelte.config.js
CHANGED
@@ -3,11 +3,11 @@ import { vitePreprocess } from "@sveltejs/kit/vite";
|
|
3 |
import dotenv from "dotenv";
|
4 |
|
5 |
dotenv.config({ path: "./.env.local" });
|
6 |
-
|
7 |
|
8 |
process.env.PUBLIC_VERSION = process.env.npm_package_version;
|
9 |
|
10 |
-
|
11 |
const config = {
|
12 |
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
13 |
// for more information about preprocessors
|
|
|
3 |
import dotenv from "dotenv";
|
4 |
|
5 |
dotenv.config({ path: "./.env.local" });
|
6 |
+
dotenv.config({ path: "./.env" });
|
7 |
|
8 |
process.env.PUBLIC_VERSION = process.env.npm_package_version;
|
9 |
|
10 |
+
@type {import('@sveltejs/kit').Config}
|
11 |
const config = {
|
12 |
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
13 |
// for more information about preprocessors
|