Skip to content

Commit

Permalink
last
Browse files Browse the repository at this point in the history
  • Loading branch information
juanandres-montero committed Mar 27, 2024
1 parent df167b0 commit 4352307
Show file tree
Hide file tree
Showing 5 changed files with 613 additions and 41 deletions.
17 changes: 13 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
import { defineConfig } from 'astro/config';
import sitemap from '@astrojs/sitemap';
import UnoCSS from 'unocss/astro';
import node from "@astrojs/node";

// https://astro.build/config
export default defineConfig({
// used to generate images
site: 'https://juanandres-montero.github.io',
site: process.env.VERCEL_ENV === 'production' ? 'https://juanandres-montero.github.io' : process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}/` : 'https://localhost:3000/',
base: 'OPCR',
integrations: [sitemap(), UnoCSS({ injectReset: true })],
trailingSlash: 'ignore',
integrations: [sitemap(), UnoCSS({
injectReset: true
})],
vite: {
optimizeDeps: {
exclude: ['@resvg/resvg-js'],
},
exclude: ['@resvg/resvg-js']
}
},
output: "server",
adapter: node({
mode: "standalone"
})
});
180 changes: 180 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
},
"dependencies": {
"@astrojs/netlify": "^5.2.0",
"@astrojs/node": "^8.2.5",
"@astrojs/rss": "^4.0.5",
"@astrojs/sitemap": "^3.1.2",
"@eliancodes/brutal-ui": "^0.2.3",
Expand Down
Loading

0 comments on commit 4352307

Please sign in to comment.