-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hi,
This is my config (working in a nx monorepo):
const outputDir = join(__dirname, '../../dist/apps/web');
// https://astro.build/config
export default defineConfig({
site: 'https://cooki.fi',
outDir: outputDir,
trailingSlash: 'never',
vite: {
plugins: [mkcert(), tailwindcss()]
},
i18n: {
locales: ['en', 'sk'],
defaultLocale: 'en'
},
integrations: [
sitemap(),
mdx(),
react({
experimentalReactChildren: true
}),
icon(),
pagefind({})
]
});
I have built the app. Astro preview of the app works - therefor nothing is wrong with the built artifacts/config as far as I can see. However running serve with this config leads to the following errors in my console:
So I am thinking the outDir is not being honored by the pagefind() integration?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels