jchadwick / EssentialTypeScriptBook

Source for the eBook "Essential TypeScript"
https://leanpub.com/essentialtypescript
18 stars 12 forks source link

System.js configuration #13

Open ckressibucher opened 7 years ago

ckressibucher commented 7 years ago

Using system.js 0.20.19, I had to configure system.js with

SystemJS.config({packages: {'/': {defaultExtension: 'js'}}});

instead of System.defaultJSExtensions = true;

However, when using the system-production.js, the config option packages is not supported. It will log the following error:

The SystemJS production build does not support the "packages" configuration option.

Would be great to see what is the currently recommended way to configure the module loader.