So I am trying to replicate the build that Angular2 does with 
Systemjs-Builder, and have been at it for days and haven't figured it out 
yet

Does anyone has a working example around?



Assuming this:
 
   root
        package1
            module1
            module2
        package2
            module1
            module2
       app.ts

Basically what I am trying to achieve is this:
For each packages folder, I want to create a bundle; a single js file that 
will include all modules and exports for that package
So that I can then include them directly in my index.html (through a script 
tag), or import them through System.import, AND be able to import those 
modules from my app.ts/js, by doing something like this:

Ideally:
import {something} from 'package1';

At Worst I could live with something like this:
import {something} from 'package1/module1';

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to