Hi,

Angular 2 is said to support templates and stylesheets that are referenced 
from a component with a *relative* path. For this, we have to set *moduleId: 
module.id* within the component-decorator. This demands compiling for 
commonjs.

Now, I', wondering, how to bootstrap a Angular 2 app that has been compiled 
for the commonjs-module-system. I've tried browserify and webpack, but both 
don't set the required property module.id. And the usage of requirejs seems 
to demand seeting up mappings for all angular2-modules.

Can anyone provide a sample, that shows how to do this right?

Wishes,
Manfred

-- 
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