Created with npm create astro@latest
, choosing default config options.
Then created file ./projectDir/src/content/posts/first.md
so the Astro generates the ./projectDir/.astro/types.d.ts
file
on dev
/ build
/ sync
commands as described in documentation.
Now, bug reproduction steps:
- Clone this repo
- Go into the project directory:
cd projectDir
- Install dependencies:
npm install
- Build to a parent directory:
npm run astro build -- --outDir ../dist
- See the
types.d.ts
file exists in thedist
directory
The ./dist
dir contains committed build output.