Skip to content

Commit

Permalink
Try different configuration to fix clicks when deploying to GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jstncno committed May 17, 2024
1 parent 2386048 commit a3d8375
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ import mdx from '@astrojs/mdx';
// https://astro.build/config
export default defineConfig({
integrations: [icon(), mdx()],
site: 'https://jstncno.github.io',
output: 'static',
outDir: './docs',
build: { assets: 'astro' },
});
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"gh-pages": "npm run build && mv dist docs",
"preview": "astro preview",
"astro": "astro"
},
Expand Down

0 comments on commit a3d8375

Please sign in to comment.