Nutella with Pepperoni and Mushrooms

npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

qinshixixing-rollup

0.0.20 • Public • Published

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

Keywords

none

install

npm i qinshixixing-rollup

Downloadsweekly downloads

0

version

0.0.20

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability