qinshixixing-rollup
This is a package for rollup which has some pre-configure.
Last updated a year ago by qinshixixing .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install qinshixixing-rollup 
SYNC missed versions from official npm registry.

qinshixixing-rollup

This is a package for rollup which has some pre-configure.

Installation

npm i -D qinshixixing-rollup

Usage

By command line

For pruduction
qsxx-rollup build
For development
qsxx-rollup dev

By node.js API

New rollupTask
const qsxxRollup = require('qinshixixing-rollup');
const config = {
    outputName: 'MyOutputFile',
    thirdParty: true
};
const rollupTask = qsxxRollup(config);
For pruduction
rollupTask.build();
For pruduction
rollupTask.build();

Options

projectPath: string

The root directory of the project. It is an absolute path.

default value: process.cwd()

outputName: string

The name of the output file.

default value: 'Output'

thirdParty: boolean

This option is used to set whether to package third-party modules(just files in node_modules directory).

default value: false

commonjs: boolean

This option is used to set whether to package files which use commonjs.

default value: false

Current Tags

  • 0.0.20                                ...           latest (a year ago)

20 Versions

  • 0.0.20                                ...           a year ago
  • 0.0.19                                ...           a year ago
  • 0.0.18                                ...           2 years ago
  • 0.0.17                                ...           2 years ago
  • 0.0.16                                ...           2 years ago
  • 0.0.15                                ...           2 years ago
  • 0.0.14                                ...           2 years ago
  • 0.0.13                                ...           2 years ago
  • 0.0.12                                ...           2 years ago
  • 0.0.11                                ...           2 years ago
  • 0.0.10                                ...           2 years ago
  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 20
This Month 21
Last Day 0
Last Week 1
Last Month 6
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |