0.7.0 • Published 11 years ago
cortex-bundle v0.7.0
A command-line tool to bundle cortex packages into single js file/css file.
Install
$ npm install cortex-bundle -gUsage
Bundle is used as cortex plugin
cortex bundleBy 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-neuronIf you want to bunlde only a portion of libs, but not used as page entry. In this situation, you should run:
cortex bundle --lib-onlyThe output file will include projects and dependencies only, without neuron and neuron configuration.
Licence
MIT