We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff77e5d commit 68fc3c8Copy full SHA for 68fc3c8
svelte.config.js
@@ -1,8 +1,8 @@
1
import adapter from '@sveltejs/adapter-static';
2
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
3
4
-const dev = process.env.NODE_ENV === 'development';
5
-const repoName = dev ? '' : '/ShaderLab'; // GitHub Pages subpath
+//const dev = process.env.NODE_ENV === 'development';
+//const repoName = dev ? '' : '/ShaderLab'; // GitHub Pages subpath
6
7
/** @type {import('@sveltejs/kit').Config} */
8
const config = {
@@ -15,10 +15,11 @@ const config = {
15
fallback: '404.html',
16
precompress: false,
17
strict: true
18
- }),
19
- paths: {
20
- base: repoName // only base, not assets
21
- }
+ })
+ //,
+ //paths: {
+ // base: repoName // only base, not assets
22
+ //}
23
},
24
25
alias: {
0 commit comments