mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 03:26:59 +00:00
fix: Simplify Pages artifact preparation and update Svelte dependency version
This commit is contained in:
3
.github/workflows/gh-pages.yml
vendored
3
.github/workflows/gh-pages.yml
vendored
@@ -30,8 +30,7 @@ jobs:
|
||||
|
||||
- name: Prepare Pages artifact
|
||||
run: |
|
||||
mkdir -p ./gh-pages-artifact/build
|
||||
cp public/build/* ./gh-pages-artifact/build/
|
||||
cp -r public/build ./gh-pages-artifact/build/
|
||||
cp public/index.html ./gh-pages-artifact/
|
||||
cp public/global.css ./gh-pages-artifact/
|
||||
cp -r public/data ./gh-pages-artifact/
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"rollup-plugin-livereload": "^2.0.0",
|
||||
"rollup-plugin-svelte": "^7.0.0",
|
||||
"rollup-plugin-terser": "^7.0.0",
|
||||
"svelte": "^5.28.2"
|
||||
"svelte": "^5.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"sirv-cli": "^1.0.0"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import App from './App.svelte';
|
||||
|
||||
const app = new App({
|
||||
target: document.getElementById('app') || document.body
|
||||
target: document.getElementById('app')
|
||||
});
|
||||
|
||||
export default app;
|
||||
|
||||
Reference in New Issue
Block a user