Chmod + Directory Resolver + Shebang Rollup plugins by Harald Rudell
npm install rollup-plugin-thatworks© 2018-present Harald Rudell
Chmod + Directory Resolver + Shebang Rollup plugins by Harald Rudell
rollup-plugin-thatworks 0.1.2+ requires Rollup 1.1+
Node.js 12 ECMAScript modules:
shebang(true): launch using node --experimental-modules
import {chmod, directoryResolver, shebang, debnugPlugin} from 'rollup-plugin-thatworks'
…
plugins: [
directoryResolver({paths: 'src'}), // can import from 'dir' instead of '../dir'
shebang(), // these two creates Node.js executables
chmod(),
debugPlugin({filename}) // prints lots of hook information
© 2018-present Harald Rudell