Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Building production files with StealTools

$
0
0

I'm trying to follow the steps in the Git readme for StealTools. Step 2 says to create a build script. With the prior version of steal we didn't have a build script. We built the production files from the command line. (./js steal/buildjs index.html)

What is the "build script" and where would it reside in a typical project?

Step 3 says "Run your build script". How is this done?

https://github.com/bitovi/steal-tools



2. Create a build script.

In your build script, add:

var stealTools = require('steal-tools'); stealTools.build({ config: "path/to/ROOT/stealconfig.js", main: "main" }).then(function(){ console.log("build is successful") })

 

Viewing all articles
Browse latest Browse all 3491

Trending Articles