A collection of Rollup plugins providing chmod (set executable permissions), directory resolver (allow bare directory imports), and shebang (preserve #! lines) functionality. Current version is 1.0.4, maintained by Harald Rudell. The package bundles three distinct plugins useful for building Node.js CLI executables with Rollup. It has a slow release cadence and is a niche alternative to using individual plugins like rollup-plugin-chmod, rollup-plugin-node-resolve with custom options, and rollup-plugin-preserve-shebang.
npm install rollup-plugin-thatworksVerified import paths — ran on the pinned version, not inferred.
A Rollup configuration that uses directoryResolver, shebang, and chmod plugins to build a CLI executable from ES modules.
Update Rollup to version 1.1 or higher.
Use import { debnugPlugin } but be aware it's misspelled; alternate plugin rollup-plugin-debug exists.Ensure directories have an index.js or index.mjs file; for file resolution, use rollup-plugin-node-resolve.
Run 'npm install rollup-plugin-thatworks --save-dev'
Change 'import chmod from ...' to 'import { chmod } from ...'Ensure the input file's shebang is on the very first line (line 1).
No dependency data recorded yet.