Skip to content

Commit ad6be91

Browse files
Migrate to Astro (#73)
1 parent f11c743 commit ad6be91

File tree

138 files changed

+11072
-4479
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+11072
-4479
lines changed

.gitignore

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1-
/node_modules/
1+
# Build output
22
/dist/
3+
4+
# Generated types
5+
/.astro/
6+
7+
# Dependencies
8+
/node_modules/
9+
10+
# Logs
11+
npm-debug.log*
12+
13+
# MacOS-specific files
314
.DS_Store

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ npm run dev
1616
npm run build
1717

1818
# Preview the result
19-
npm run serve
19+
npm run preview
2020
```

astro.config.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { defineConfig } from "astro/config";
2+
3+
import tailwind from "@astrojs/tailwind";
4+
5+
export default defineConfig({
6+
integrations: [
7+
tailwind({
8+
config: { applyBaseStyles: false },
9+
}),
10+
],
11+
});

netlify.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
publish = "dist/"
33
command = "npm run build"
44

5-
[build.processing.html]
6-
pretty_urls = true
7-
85
[[headers]]
96
for = "/badge/*"
107

@@ -14,7 +11,7 @@
1411
Cache-Control = "public, max-age=604800"
1512

1613
[[headers]]
17-
for = "/assets/*"
14+
for = "/_astro/*"
1815

1916
[headers.values]
2017
# Assets include checksum in the name, so we cache them for long

0 commit comments

Comments
 (0)