Started refactoring, added prettier and checks and reformatted project, added cspell and checks and custom project words, beginning of robotic oceanographic surface sampler content
This commit is contained in:
@@ -1,31 +1,31 @@
|
||||
// @ts-check
|
||||
import {defineConfig} from 'astro/config';
|
||||
import { defineConfig } from "astro/config";
|
||||
import sitemap from "@astrojs/sitemap";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
|
||||
// We don't have access to short imports this early in the build chain
|
||||
// noinspection ES6PreferShortImport
|
||||
import {siteLayout, getPaths} from "./src/data/site-layout.ts";
|
||||
import { siteLayout, getPaths } from "./src/data/site-layout.ts";
|
||||
|
||||
const disabledPaths = getPaths(siteLayout, [], true)
|
||||
const disabledPaths = getPaths(siteLayout, [], true);
|
||||
|
||||
// https://astro.build/config
|
||||
|
||||
export default defineConfig({
|
||||
site: "https://caperren.com",
|
||||
prefetch: {
|
||||
prefetchAll: true
|
||||
},
|
||||
integrations: [
|
||||
sitemap({
|
||||
filter: (pagePath) =>
|
||||
!disabledPaths.some(disabledPath => pagePath.includes(disabledPath))
|
||||
})
|
||||
site: "https://caperren.com",
|
||||
prefetch: {
|
||||
prefetchAll: true,
|
||||
},
|
||||
integrations: [
|
||||
sitemap({
|
||||
filter: (pagePath) =>
|
||||
!disabledPaths.some((disabledPath) => pagePath.includes(disabledPath)),
|
||||
}),
|
||||
],
|
||||
vite: {
|
||||
plugins: [
|
||||
// @ts-ignore
|
||||
tailwindcss(),
|
||||
],
|
||||
vite: {
|
||||
plugins: [
|
||||
// @ts-ignore
|
||||
tailwindcss()
|
||||
],
|
||||
},
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user