2024-08-02 23:45:27 -06:00
|
|
|
import { defineConfig } from "astro/config";
|
|
|
|
import min from "astro-min";
|
|
|
|
import compressor from "astro-compressor";
|
2024-08-02 22:27:39 -06:00
|
|
|
|
2024-08-03 10:37:51 -06:00
|
|
|
import mdx from "@astrojs/mdx";
|
|
|
|
|
2024-08-02 22:27:39 -06:00
|
|
|
// https://astro.build/config
|
2024-08-02 23:45:27 -06:00
|
|
|
export default defineConfig({
|
2024-08-03 10:42:36 -06:00
|
|
|
site: "https://nelle.observer",
|
2024-08-02 23:45:27 -06:00
|
|
|
integrations: [
|
2024-08-03 10:37:51 -06:00
|
|
|
mdx(),
|
2024-08-02 23:45:27 -06:00
|
|
|
min({
|
|
|
|
do_not_minify_doctype: false,
|
|
|
|
ensure_spec_compliant_unquoted_attribute_values: false,
|
|
|
|
keep_closing_tags: false,
|
|
|
|
keep_comments: false,
|
|
|
|
keep_html_and_head_opening_tags: false,
|
|
|
|
keep_input_type_text_attr: false,
|
|
|
|
keep_spaces_between_attributes: false,
|
|
|
|
keep_ssi_comments: false,
|
|
|
|
minify_css: true,
|
|
|
|
minify_js: true,
|
|
|
|
preserve_brace_template_syntax: false,
|
|
|
|
preserve_chevron_percent_template_syntax: false,
|
|
|
|
remove_bangs: false,
|
|
|
|
remove_processing_instructions: false,
|
|
|
|
}),
|
|
|
|
compressor(),
|
|
|
|
],
|
|
|
|
});
|
|
|
|
// min and compressor always last!
|