Open marvinhagemeister opened 4 hours ago
I removed the "bug" classification from this. Right now, this is intentional behaviour. deno cache
fails on imports it does not understand, rather than just silently ignoring them (just like Node fails when you run a file that imports a .svg
file). Maybe we can change this behaviour though.
Vite projects (and other frontend ones) typically contain non-standard imports like importing
.svg
files. Deno errors when it encounters such a file upon callingdeno cache
.Steps to reproduce
npm create vite
cd
into the project folder and rundeno cache src/App.tsx
Output:
Version: Deno 2.0.0-rc.4+66fb81e