Testing Rollup Projects #757
AndrewLeedham
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Curious if Vitest could be used to test existing Rollup projects. Given Vite already uses Rollup to some degree, would it be plausible to point Vitest at a
rollup.config.js
or perhaps some-sort of thin wrapper in avite.config.ts
.Rollup seems to be a better fit for building Node.js CLIs, as they don't need a dev-server or SSR etc. Otherwise, I would just convert the project to Vite.
Not sure how deeply integrated the 2 tools are or whether Vitest is using ESBuild more as it is not building to output, so this could be completely impractical, just thought I would throw it out there as an idea.
Beta Was this translation helpful? Give feedback.
All reactions