Socket
Socket
Sign inDemoInstall

alcazar

Package Overview
Dependencies
18
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    alcazar

Bundler utility that creates a RequireJS optimizer configuration and copies loaders for optimizing a LazoJS application.


Version published
Maintainers
1
Created

Readme

Source

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

Keywords

FAQs

Last updated on 31 Jan 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc