Quokka now supports
vite-node as a runtime environment, which allows projects
vite to run your Quokka file (and any imports) with your project’s Vite resolvers and transformers.
To use Quokka with
vite-node package must be installed in your project; Quokka will automatically detect
and use vite-node once it is installed.