This is a simple plugin for Vite, Rollup, esbuild, Webpack, and other unplugin compatible bundlers. That allows loading modules via file urls like file:///path/to/file
.
FWIW — file urls should work in ESM, but sometimes bundlers do not resolve them properly.