Skip to content

Commit

Permalink
v0.0.5
Browse files Browse the repository at this point in the history
React for better animation (Framer Motion) #31
Change load priority for modules #30
Add a debug modal #29
Dependencies upgrade #28
PostCSS integrate #21
Better Pagespeed Insights #27
  • Loading branch information
CDzungx committed Jun 29, 2023
1 parent f646d1b commit 5f39f63
Show file tree
Hide file tree
Showing 14 changed files with 294 additions and 149 deletions.
10 changes: 7 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
import { defineConfig } from "astro/config";
import prefetch from "@astrojs/prefetch";
import tailwind from "@astrojs/tailwind";
import react from "@astrojs/react";
import solidJs from "@astrojs/solid-js";
import alpinejs from "@astrojs/alpinejs";
import image from "@astrojs/image";
import sitemap from "@astrojs/sitemap";
import alpinejs from "@astrojs/alpinejs";
import markdoc from "@astrojs/markdoc";
import vercel from "@astrojs/vercel/serverless";
import compress from "astro-compress";


// https://astro.build/config
export default defineConfig({
site: "https://prozekt-asolind.vercel.app/",
integrations: [
react(),
solidJs(),
prefetch(),
tailwind(),
solidJs(),
image({
cacheDir: "./.cache/image",
serviceEntryPoint: "@astrojs/image/sharp",
Expand All @@ -24,12 +27,13 @@ export default defineConfig({
alpinejs(),
markdoc(),
compress(),

],
build: {
inlineStylesheets: "auto",
},
ssr: {
noExternal: ["@motionone/solid", "@solid-primitives/props", "animate.css"],
noExternal: ["animate.css"],
},
output: "hybrid",
adapter: vercel({
Expand Down
9 changes: 9 additions & 0 deletions markdoc.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// markdoc.config.mjs
import { defineMarkdocConfig, component } from "@astrojs/markdoc/config";

export default defineMarkdocConfig({
tags: {
aside: {
},
},
});
Loading

1 comment on commit 5f39f63

@vercel
Copy link

@vercel vercel bot commented on 5f39f63 Jun 29, 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.