Skip to content

Commit

Permalink
Remove @astro/mdx and astro-compress
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemulley committed Jan 23, 2024
1 parent b586538 commit 203e516
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 1,793 deletions.
39 changes: 1 addition & 38 deletions astro.config.mjs
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()],
});
Loading

0 comments on commit 203e516

Please sign in to comment.