Skip to content

cortexjs-legacy/cortex-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

]# 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

About

Bundle current project into single javascript file, or with a single addition css file if css is specified.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •