Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 527 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 527 Bytes

simple_ Requirejs Configurations

Dynamic usage

main.js file:

require(['main-remote.js'], function () {

    // BOOT
    require([
        "custom/start",
        "custom/lib",
        "boot",
    ], function (start) {
        start();
    });
});

// DELAYED
require([
    "bootstrapMD"
]);

Bundle usage

Configure app.buils.js file:

Copy src/app.buils.js for full bundle or src/cdn.app.buils.js for keep CDN imports to your root project

Run r.js bundle:

r.js -o app.build.js