-
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.
Remove @astro/mdx and astro-compress
- Loading branch information
1 parent
b586538
commit 203e516
Showing
5 changed files
with
49 additions
and
1,793 deletions.
There are no files selected for viewing
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,46 +1,9 @@ | ||
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, | ||
}, | ||
}, | ||
}), | ||
], | ||
integrations: [sitemap(), tailwind()], | ||
}); |
Oops, something went wrong.