Skip to content

Commit

Permalink
Merge pull request #90 from Front-End-Coders-Mauritius/feature/github…
Browse files Browse the repository at this point in the history
…-auth-provider

Feature/GitHub auth provider
  • Loading branch information
MrSunshyne authored Aug 21, 2023
2 parents d5a191f + 10085a1 commit 795b5bd
Show file tree
Hide file tree
Showing 15 changed files with 178 additions and 6,629 deletions.
35 changes: 13 additions & 22 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import image from "@astrojs/image";
import Icons from 'unplugin-icons/vite'

import Icons from 'unplugin-icons/vite';
import vue from "@astrojs/vue";

let site = "https://frontend.mu";

// https://vercel.com/docs/concepts/projects/environment-variables/system-environment-variables
Expand All @@ -16,29 +14,22 @@ if (process.env.VERCEL_ENV === "preview" || process.env.VERCEL_ENV === "developm
// https://astro.build/config
export default defineConfig({
site,
integrations: [
mdx(),
sitemap(),
vue(),
image({
serviceEntryPoint: "@astrojs/image/sharp",
}),
],
integrations: [mdx(), sitemap(), vue(), image({
serviceEntryPoint: "@astrojs/image/sharp"
})],
vite: {
resolve: { dedupe: ["vue"] },
resolve: {
dedupe: ["vue"]
},
define: {
"import.meta.env.VERCEL_ANALYTICS_ID": JSON.stringify(
process.env.VERCEL_ANALYTICS_ID
),
"import.meta.env.VERCEL_ANALYTICS_ID": JSON.stringify(process.env.VERCEL_ANALYTICS_ID)
},
plugins: [
Icons({
compiler: 'vue3',
autoInstall: true
}),
],
plugins: [Icons({
compiler: 'vue3',
autoInstall: true
})]
},
experimental: {
viewTransitions: true
}
});
});
Loading

1 comment on commit 795b5bd

@vercel
Copy link

@vercel vercel bot commented on 795b5bd Aug 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.