@penpad/rollup-config
Builds a Rollup configuration for use in Penpad plugins. The `buildConfig` function gets you a Rollup config with some basic necessities:
Last updated a year ago by rstacruz .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @penpad/rollup-config 
SYNC missed versions from official npm registry.

@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"
  }
}

Current Tags

  • 0.4.0-alpha.0                                ...           latest (a year ago)

3 Versions

  • 0.4.0-alpha.0                                ...           a year ago
  • 0.3.0-alpha.1                                ...           a year ago
  • 0.3.0-alpha.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |