steal-almond

0.3.0 • Public • Published

Note This is a WIP project based on a future version of steal-tools. Not ready to use yet.

steal-almond

Build Status npm version

Create builds of your StealJS that use packs almond so that Steal is not needed in production.

Install

npm install steal-almond --save-dev

Use

Use steal-almond in place of where you would normally use steal-tools:

var stealTools = require("steal-tools");
var multiBuild = require("steal-almond")(stealTools);
 
multiBuild({
    config: __dirname + "/package.json!npm"
});

Streams

steal-almond builds on the steal-tools streaming APIs. If you are using these you can use steal-almond too:

var s = require("steal-tools").streams;
var almond = require("steal-almond").createStream;
 
var stream = s.graph({
    config: __dirname + "/tests/basics/package.json!npm"
}, { minify: false, quiet: true })
.pipe(s.transpile())
.pipe(s.minify())
.pipe(s.bundle())
.pipe(almond())
.pipe(s.concat())
.pipe(s.write());

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i steal-almond

Weekly Downloads

0

Version

0.3.0

License

MIT

Last publish

Collaborators

  • matthewp