activewidgets / getlibs

OBSOLETE, DO NOT USE: This project is no longer maintained
MIT License
165 stars 12 forks source link

My own modules #3

Closed zero-t4 closed 7 years ago

zero-t4 commented 7 years ago

Do i always need to import my own modules through System.import('./...js') ?

xkam commented 7 years ago

You have to import at least one of your modules (for example, top level main.js) via System.import(). Then inside this main module you can use either require() (for es5) or import (for es6/typescript) to include other modules.