Fixing vite errors when on github pages
save you the google
- tags
- vite
- astro
Contents
Building an astro site with a github workflow was throwing this error:
|
|
Fixed by adding an optional dependancy into package.json
.
|
|
And adding the sharp
module:
|
|
Previously
Next