Example #1
0
aurelia.command('bundle', {
    template: {
        "dist/app-bundle": {
            pattern: 'dist/*.html',
            options: {
                inject: true
            }
        }
    },

    js: {
        "dist/app-bundle": {
            modules: [
                '*',
                'aurelia-bootstrapper',
                'aurelia-http-client',
                'aurelia-router',
                'aurelia-animator-css',
                'github:aurelia/templating-binding@0.13.0',
                'github:aurelia/templating-resources@0.13.0',
                'github:aurelia/templating-router@0.14.0',
                'github:aurelia/loader-default@0.9.0',
                'github:aurelia/history-browser@0.6.0'
            ],
            options: {
                inject: true,
                minify: true
            }
        }
    }
});
var aurelia = require("aurelia-cli");

aurelia.command("bundle", {
    js: {
        "wwwroot/appbundle": {
            modules: [
              "app", "main", "about/**", "movies/**", "resources/**",
              "aurelia-bootstrapper",
              "aurelia-router",
              "aurelia-http-client",
              "aurelia-validation"
            ],
            options: {
                inject: true
            }
        }
    },
    template: {
        "wwwroot/appbundle": {
            pattern: "ignorefornow",
            options: {
                inject: true,
            }
        }
    }
});
Example #3
0
/**
 * Created by mdahra on 23/11/15.
 */

var aurelia = require('aurelia-cli');

aurelia.command('bundle', {
	js: {
		"views/app-bundle": {
			modules: [
				'*',
				'aurelia-bootstrapper',
				'aurelia-fetch-client',
				'aurelia-framework',
				'aurelia-binding',
				'aurelia-router',
				'aurelia-loader-default',
				'aurelia-event-aggregator',
				'aurelia-history-browser',
				'aurelia-logging-console',
				'aurelia-templating-binding',
				'aurelia-templating-resources',
				'aurelia-templating-router'
			],
			options: {
				inject: true,
				minify: true
			}
		}
	}
});