Running the dev command on Windows produces an error like:
Internal server error: Cannot find module 'C:UsersmyaccountDocuments ypescript
unstack-sample/src/Root.tsx' imported from 'virtual:funstack/entries'
This is caused by Windows path separators (backslashes) not being normalized before being embedded in generated files. Note that even in the error message above, \t in Documents\typescript is interpreted as a tab character.
Vite provides a normalizePath utility function and recommends its use in the plugin API documentation.