unplugin-file-url
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

unplugin-file-url

NPM version

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.

Package Sidebar

Install

npm i unplugin-file-url

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

27.2 kB

Total Files

42

Last publish

Collaborators

  • justin-schroeder