File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 BASE_PATH : ' /${{ github.event.repository.name }}'
3939 run : |
4040 npm i
41- npm run build
41+ npm run deploy
4242 touch dist/.nojekyll
4343 cp dist/index.html dist/404.html
4444 - name : Setup Pages
Original file line number Diff line number Diff line change 66 "scripts" : {
77 "dev" : " vite" ,
88 "build" : " vite build" ,
9- "preview" : " vite preview"
10- },
9+ "preview" : " vite preview" ,
10+ "deploy" : " vite build --base=/code-struct-explorer/"
11+ },
1112 "devDependencies" : {
1213 "@sveltejs/vite-plugin-svelte" : " ^5.0.3" ,
1314 "@types/cytoscape" : " ^3.21.9" ,
Original file line number Diff line number Diff line change @@ -3,8 +3,5 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
33export default {
44 // Consult https://svelte.dev/docs#compile-time-svelte-preprocess
55 // for more information about preprocessors
6- preprocess : vitePreprocess ( ) ,
7- paths : {
8- base : process . argv . includes ( 'dev' ) ? '' : '/code-struct-explorer'
9- }
6+ preprocess : vitePreprocess ( )
107}
You can’t perform that action at this time.
0 commit comments