We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 734aa99 commit 8516336Copy full SHA for 8516336
.env
@@ -1 +1,2 @@
1
PUBLIC_VERSION=1.0.0-beta.1
2
+BASE_PATH=https://eye-wave.github.io/svelte-knobs
svelte.config.js
@@ -20,7 +20,10 @@ const config = {
20
fallback: undefined,
21
precompress: false,
22
strict: true
23
- })
+ }),
24
+ paths: {
25
+ base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
26
+ }
27
}
28
};
29
0 commit comments