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", "dist/app.bundle.js", { normalize: true, sourceMaps: true, sourceMapContents: true });