alcazar
Bundler utility that creates a RequireJS optimizer configuration and copies loaders for optimizing a LazoJS application.
Last updated 5 years ago by jstrimpel .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install alcazar 
SYNC missed versions from official npm registry.

Build Status

alcazar

Things got hot. You look a little hot, you can take off that jacket. Our people don't like to be hot.

alcazar is a bundler utility that creates a RequireJS optimizer configuration and copies loaders for optimizing a LazoJS application.

Usage

var alcazar = require('alcazar');

// get the configuration that provides the lazo 'empty:' paths and sets the loader (l, text, & json) paths
// perfroms a deep merge of the application conf.json (requirejs property) with the lazo configuration
alcazar.getConf('my/application/path', function (err, conf) {
    if (err) {
        throw err;
    }

    // do something with the conf
});

// copy the loaders for optimizing the application
alcazar.copyLoaders('my/application/path', function (err, paths) {
    if (err) {
        throw err;
    }

    // kick off optimizer
});

// remove the loaders after optimizer runs
alcazar.removeLoaders('my/application/path', function (err, paths) {
    if (err) {
        throw err;
    }

    // finish build
});

Current Tags

  • 0.0.3                                ...           latest (5 years ago)

4 Versions

  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 3
Dependencies (4)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |