0.0.3 • Published 9 years ago

alcazar v0.0.3

Weekly downloads
4
License
-
Repository
github
Last release
9 years ago

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
});
0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago