Open zachsa opened 2 years ago
Yes this is a TODO.
Actually, this error has been helpful - it's helped me catch errors in my path defs. So I can definitely see that it could be useful, in that the output of one task might not exist, and is the input of another. But I think this should require an explicit flag. Just because in my experience if this was the default I would have not caught errors
I get this error
In this case the
.ssr/index.js
file is created via a Rollup build, the task looks like this:Since rollup follows imports I run rollup once whenever a jsx file changes. But then in subsequent tasks I have to depend on the name of the task, not the output of the task (.ssr/index.js).
So far as I know... I can't specify to Rollup to just transform a single file to an output. I COULD do this with SWC, but then I don't have flexibility with file extensions