Skip to content

Commit

Permalink
Migrate to Astro (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko authored May 22, 2023
1 parent f11c743 commit ad6be91
Show file tree
Hide file tree
Showing 138 changed files with 11,072 additions and 4,479 deletions.
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/node_modules/
# Build output
/dist/

# Generated types
/.astro/

# Dependencies
/node_modules/

# Logs
npm-debug.log*

# MacOS-specific files
.DS_Store
1 change: 0 additions & 1 deletion .prettierignore

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ npm run dev
npm run build

# Preview the result
npm run serve
npm run preview
```
11 changes: 11 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { defineConfig } from "astro/config";

import tailwind from "@astrojs/tailwind";

export default defineConfig({
integrations: [
tailwind({
config: { applyBaseStyles: false },
}),
],
});
5 changes: 1 addition & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
publish = "dist/"
command = "npm run build"

[build.processing.html]
pretty_urls = true

[[headers]]
for = "/badge/*"

Expand All @@ -14,7 +11,7 @@
Cache-Control = "public, max-age=604800"

[[headers]]
for = "/assets/*"
for = "/_astro/*"

[headers.values]
# Assets include checksum in the name, so we cache them for long
Expand Down
Loading

0 comments on commit ad6be91

Please sign in to comment.