Skip to content

Commit 8516336

Browse files
committed
update workflow
1 parent 734aa99 commit 8516336

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
PUBLIC_VERSION=1.0.0-beta.1
2+
BASE_PATH=https://eye-wave.github.io/svelte-knobs

svelte.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ const config = {
2020
fallback: undefined,
2121
precompress: false,
2222
strict: true
23-
})
23+
}),
24+
paths: {
25+
base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
26+
}
2427
}
2528
};
2629

0 commit comments

Comments
 (0)