webpack-system-register icon indicating copy to clipboard operation
webpack-system-register copied to clipboard

Move off of using System._loader.loads, in favor of System.normalizeSync

Open internettrans opened this issue 9 years ago • 1 comments

See https://github.com/systemjs/systemjs/issues/1277 for why. Will first have to wait for https://github.com/CanopyTax/sofe/issues/30 to be resolved.

internettrans avatar May 20 '16 15:05 internettrans

Or even better, just use context.id, where context is the second parameter passed to the callback given to System.register. That is the same as the normalized module name. See the further discussion in the systemjs issue linked to above for more info.

internettrans avatar May 20 '16 16:05 internettrans