This repository has been archived by the owner on Feb 10, 2025. It is now read-only.
astro with astro/netlify not working properly on netlify #442
Labels
needs repro
Issue needs a reproduction
Astro Info
Describe the Bug
I am using astrojs/netlify adapter .The output it produces creates such folder structure such that functions are deeply nested, so I tried to do this in netlify.toml
import { defineConfig } from ‘astro/config’;
import tailwind from ‘@astrojs/tailwind’;
import sitemap from ‘@astrojs/sitemap’;
import netlify from ‘@astrojs/netlify/functions’;
export default defineConfig({
output: ‘server’,
adapter: netlify(),
integrations: [
tailwind(),
sitemap(),
],
});
{
“name”: “usa-salvage-yards”,
“type”: “module”,
“version”: “0.0.1”,
“scripts”: {
“dev”: “astro dev”,
“start”: “astro dev”,
“build”: “astro build”,
“preview”: “astro preview”,
“astro”: “astro”
},
“dependencies”: {
“@astrojs/netlify”: “^5.5.4”,
“@astrojs/sitemap”: “^3.2.1”,
“@astrojs/tailwind”: “^5.1.2”,
“astro”: “^4.16.12”,
“nodemailer”: “^6.9.16”,
“papaparse”: “^5.4.1”,
“tailwindcss”: “^3.4.15”
},
“devDependencies”: {
“@types/nodemailer”: “^6.4.16”,
“@types/papaparse”: “^5.3.15”
}
}
What's the expected result?
it should render those pages
Link to Minimal Reproducible Example
can't
Participation
The text was updated successfully, but these errors were encountered: