Why file extension is not mentioned when importing exporting modules in Angular 2 App

Angular 2 modules are handled by SystemJS (https://www.npmjs.com/package/systemjs) module loader. Since we mention module extensions to be loaded in the “systemjs.config” which describes as below, so that no need of defining extension.

Notes: app is the root folder or the main app component of this angular application and your default extensions to be loaded would be JavaScripts.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s