Skip to content

Commit 68fc3c8

Browse files
committed
Update svelte.config.js
1 parent ff77e5d commit 68fc3c8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

svelte.config.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import adapter from '@sveltejs/adapter-static';
22
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
33

4-
const dev = process.env.NODE_ENV === 'development';
5-
const repoName = dev ? '' : '/ShaderLab'; // GitHub Pages subpath
4+
//const dev = process.env.NODE_ENV === 'development';
5+
//const repoName = dev ? '' : '/ShaderLab'; // GitHub Pages subpath
66

77
/** @type {import('@sveltejs/kit').Config} */
88
const config = {
@@ -15,10 +15,11 @@ const config = {
1515
fallback: '404.html',
1616
precompress: false,
1717
strict: true
18-
}),
19-
paths: {
20-
base: repoName // only base, not assets
21-
}
18+
})
19+
//,
20+
//paths: {
21+
// base: repoName // only base, not assets
22+
//}
2223
},
2324

2425
alias: {

0 commit comments

Comments
 (0)