@penpad/rollup-config

0.4.0-alpha.0 • Public • Published

@penpad/rollup-config

Builds a Rollup configuration for use in Penpad plugins. The buildConfig function gets you a Rollup config with some basic necessities:

Usage

Write a rollup.config.js for your plugin:

// rollup.config.js
import buildConfig from '@penpad/rollup-config'
import pkg from './package.json'

export default buildConfig({
  // Entry point
  input: 'src/index.tsx',
  pkg
})

Configure npm scripts for scripts.prepare:

/* package.json */
{
  "scripts": {
    "prepare": "rollup --config"
  }
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.4.0-alpha.00latest

Version History

VersionDownloads (Last 7 Days)Published
0.4.0-alpha.00
0.3.0-alpha.11
0.3.0-alpha.00

Package Sidebar

Install

npm i @penpad/rollup-config

Weekly Downloads

1

Version

0.4.0-alpha.0

License

MIT

Unpacked Size

7.61 kB

Total Files

7

Last publish

Collaborators

  • rstacruz