steal-almond
v0.3.0
Published
Bundle your Steal app with Almond
Downloads
3
Readme
Note This is a WIP project based on a future version of steal-tools. Not ready to use yet.
steal-almond
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