0.6.0 • Published 7 years ago
lila-rollup v0.6.0
lila-rollup
Wrapped rollup plugin for building a library.
install
npm install --save-dev lila-rollupuse
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}) => configsettings can be implemented
getEntries: get all entries with imported entries, when you want to use *, all special mark
(entries, root, srcDir) => allEntries;npm packages
- rollup: 1.1.0