rollup-plugin-thatworks

1.0.4 • Public • Published

rollup-plugin-thatworks

© 2018-present Harald Rudell harald.rudell@gmail.com (http://www.haraldrudell.com)

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 harald.rudell@gmail.com (http://www.haraldrudell.com)

Package Sidebar

Install

npm i rollup-plugin-thatworks

Weekly Downloads

25

Version

1.0.4

License

ISC

Unpacked Size

21.1 kB

Total Files

7

Last publish

Collaborators

  • haraldrudell