DSACMS / metrics

Experimentations in Open Source Repository Metrics
https://dsacms.github.io/metrics/
Other
6 stars 2 forks source link

Removed vite plugin due to passthrough copy bug #54

Closed natalialuzuriaga closed 9 months ago

natalialuzuriaga commented 9 months ago

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: https://github.com/11ty/eleventy-plugin-vite/issues/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.