Rollup plugin that allows a file object (e.g., from Gulp) to be used as an entry point, supporting vinyl files with a `base` property. Current version 0.1.1 is an early release with no tests, no updates since 2017, and no maintenance. Differentiates from standard Rollup entry by accepting file objects rather than file paths, primarily for integration with Gulp streams. Likely abandoned; caution advised for production use.
npm install rollup-plugin-fileNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage with Gulp: takes a vinyl file stream and bundles each file using Rollup with the file plugin.
Consider alternative plugins like @rollup/plugin-url or rollup-plugin-stream
Ensure you pass a file object with `base` set, or use gulp-rollup-file wrapper
Use with Rollup 0.x or find alternative for Rollup 1+
Use a vinyl file object from Gulp or manually add `base` property to the file object.
Add rollupFile() to plugins array; check Rollup version compatibility (0.x only).