Skip to content

Commit

Permalink
fix: removing extraneous commands in gh yml file.
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeinbinary committed Oct 8, 2024
1 parent 75bf91a commit 6133c02
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ concurrency:
jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
env:
VITE_MAIN_API_URL: ${{ secrets.VITE_MAIN_API_URL }}
VITE_MANAGE_API_URL: ${{ secrets.VITE_MANAGE_API_URL }}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "stegg",
"private": true,
"version": "1.0.0",
"homepage": "https://stegg.alifeinbinary.com/",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
13 changes: 5 additions & 8 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,13 @@ export default defineConfig({
sourcemap: true,
rollupOptions: {
treeshake: "recommended",
output: {
manualChunks: {
vendor: ["react", "react-dom"],
},
},
// output: {
// manualChunks: {
// vendor: ["react", "react-dom"],
// },
// },
},
minify: "esbuild",
cssCodeSplit: true,
},
server: {
hmr: true,
},
});

0 comments on commit 6133c02

Please sign in to comment.