var Builder = require("systemjs-builder"); // set it up with your base URL and the path to your config file. var builder = new Builder("./build", "build/systemjs.config.js"); // run the bundler builder.bundle("app.js", "release/app.bundle.js", { minify: true, uglify: { compress: {} }, mangle: true, normalize: true });