EssentialTypeScriptBook icon indicating copy to clipboard operation
EssentialTypeScriptBook copied to clipboard

System.js configuration

Open ckressibucher opened this issue 8 years ago • 0 comments

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.

ckressibucher avatar Nov 20 '17 12:11 ckressibucher