-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #295 from jakemulley/astro
Move site to Astro
- Loading branch information
Showing
55 changed files
with
8,097 additions
and
3,612 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,21 @@ | ||
node_modules | ||
# build output | ||
dist/ | ||
|
||
# generated types | ||
.astro/ | ||
|
||
# dependencies | ||
node_modules/ | ||
|
||
# logs | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# environment variables | ||
.env | ||
.env.production | ||
|
||
# macOS-specific files | ||
.DS_Store | ||
docs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"recommendations": ["astro-build.astro-vscode"], | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"command": "./node_modules/.bin/astro dev", | ||
"name": "Development server", | ||
"request": "launch", | ||
"type": "node-terminal" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import { defineConfig } from "astro/config"; | ||
import mdx from "@astrojs/mdx"; | ||
import sitemap from "@astrojs/sitemap"; | ||
import tailwind from "@astrojs/tailwind"; | ||
import compress from "astro-compress"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
site: "https://jakemulley.com", | ||
integrations: [ | ||
mdx(), | ||
sitemap(), | ||
tailwind(), | ||
compress({ | ||
HTML: { | ||
"html-minifier-terser": { | ||
caseSensitive: false, | ||
collapseInlineTagWhitespace: false, | ||
collapseWhitespace: true, | ||
continueOnParseError: false, | ||
html5: true, | ||
ignoreCustomComments: [/^!/, /^\s*#/], | ||
includeAutoGeneratedTags: true, | ||
keepClosingSlash: false, | ||
minifyCSS: false, | ||
minifyJS: false, | ||
minifyURLs: false, | ||
noNewlinesBeforeTagClose: false, | ||
preventAttributesEscaping: false, | ||
processConditionalComments: false, | ||
processScripts: [], | ||
quoteCharacter: '"', | ||
removeAttributeQuotes: false, | ||
removeComments: true, | ||
removeScriptTypeAttributes: false, | ||
removeStyleLinkTypeAttributes: false, | ||
removeTagWhitespace: false, | ||
sortAttributes: false, | ||
sortClassName: false, | ||
trimCustomFragments: false, | ||
useShortDoctype: true, | ||
}, | ||
}, | ||
}), | ||
], | ||
}); |
Oops, something went wrong.