lambda-packages icon indicating copy to clipboard operation
lambda-packages copied to clipboard

No assets folder when outDir outside cwd

Open rob-gordon opened this issue 3 years ago • 0 comments

What version of astro are you using?

1.2.7

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

pnpm

What operating system are you using?

Mac

Describe the Bug

I have a pnpm monorepo containing an astro app in one folder and a create-react-app in another. My goal is to build the create-react-app, then build the astro app into a subfolder of the built create-react-app.

For the most part, this works fine. The only problem is that the public folder isn't copied into the outDir destination, so images and css 404 on the deployed site.

Link to Minimal Reproducible Example

https://github.com/rob-gordon/nested-astro-bug

Participation

  • [ ] I am willing to submit a pull request for this issue.

rob-gordon avatar Sep 21 '22 00:09 rob-gordon