lila-rollup
wrapped rollup plugin for building a library
Last updated a year ago by senntyou .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install lila-rollup 
SYNC missed versions from official npm registry.

lila-rollup

Wrapped rollup plugin for building a library.

install

npm install --save-dev lila-rollup

use

In lila.js:

import rollupPlugin from 'lila-rollup';

export default lila => {
  rollupPlugin(lila);

  ...
};

extended commands

build: pack source codes to distribution bundles

lila build entry1 entry2 entry3 ...

If entry is not provided, @lila/index will be used as default.

extended tasks

@lila/rollup: run rollup

'@lila/rollup'

settings need to be implemented

rollupConfigGenerator: generate rollup config

rollup => ({entry, args, argv, cmd, config, lila}) => config

settings can be implemented

getEntries: get all entries with imported entries, when you want to use *, all special mark

(entries, root, srcDir) => allEntries;

npm packages

Current Tags

  • 0.6.0                                ...           latest (a year ago)

5 Versions

  • 0.6.0                                ...           a year ago
  • 0.5.6                                ...           a year ago
  • 0.5.3                                ...           a year ago
  • 0.5.2                                ...           a year ago
  • 0.5.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (1)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |