cortex-bundle

0.7.0 • Public • Published

]# cortex-bundle NPM version Build Status Dependency Status

A command-line tool to bundle cortex packages into single js file/css file.

Install

$ npm install cortex-bundle -g

Usage

Bundle is used as cortex plugin

cortex bundle

By default, bunlde command will bunlde javascript files, with neuron configurations and loaders together. Which means you just need only include the bundled file in your page.

If you want to the loader in the cdn, so you don't want neuron to be included, you can run:

cortex bundle --no-neuron

If you want to bunlde only a portion of libs, but not used as page entry. In this situation, you should run:

cortex bundle --lib-only

The output file will include projects and dependencies only, without neuron and neuron configuration.

Licence

MIT

Package Sidebar

Install

npm i cortex-bundle

Weekly Downloads

6

Version

0.7.0

License

MIT

Last publish

Collaborators

  • villadora
  • spud