@socifi/rollup-config
SOCIFI default rollup config
Last updated 9 months ago by socifi-ci .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @socifi/rollup-config 
SYNC missed versions from official npm registry.

SOCIFI Default Rollup Configuration

npm version CircleCI

This is default configuration for rollup that compile javascript libraries.

What is included

It parse ECMAScript 6 javascript syntax using Babel env preset. Supported browsers are defined from package.json of compiled library. Default configuration can also handle Flow Type syntax.

All files are bundled separately. It allowed to create smaller files with compilers that does not have tree shaking like webpack.

To the destination folder are copied .js.flow so the library can be use with Flow Types.

How to use it

First, install this package:

npm install @socifi/rollup-config --save-dev

Then create your rollup.config.js file:

import getConfig from 'ui-rollup-config';
import path from 'path';
import packageJson from './package.json';

export default getConfig(packageJson, path.resolve(__dirname, 'src'), {
    custom: 'settings',
});

Current Tags

  • 2.1.0                                ...           latest (9 months ago)

7 Versions

  • 2.1.0                                ...           9 months ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.10.0                                ...           a year ago
  • 1.9.0                                ...           a year ago
  • 1.8.0                                ...           2 years ago
  • 1.7.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 7
Last Day 0
Last Week 2
Last Month 7
Dependents (1)

Copyright 2014 - 2016 © taobao.org |