Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed vite plugin due to passthrough copy bug #54

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

natalialuzuriaga
Copy link
Collaborator

@natalialuzuriaga natalialuzuriaga commented Nov 22, 2023

Removed vite plugin due to passthrough copy bug

Problem

We currently use the Vite Plugin to build our production website. When building for production, all files under the addPassthroughCopy are not included in the output folder. It seems this is a common issue and is currently not resolved in the upstream: 11ty/eleventy-plugin-vite#42

Solution

Remove the Vite Plugin from the project and addPassthroughCopy works as intended. Images can be found and are now displayed. Research and consider other build tools to use.

@natalialuzuriaga natalialuzuriaga merged commit dcc0fcc into main Nov 22, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant