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.
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 optionpackagesis not supported. It will log the following error:Would be great to see what is the currently recommended way to configure the module loader.