angular-cn/public/docs/_examples/testing/ts/systemjs.config.extras.web.js
Ward Bell 0d5073e74b chore(plunker): substitute systemjs.config.extras.web.js for systemjs.config.extras.js (#2968)
Solves sudden problem with plunker not handling the non-plunker version
Also switch from `pluck` to `map` because `pluck` typing stopped working.
2016-12-13 20:57:47 -08:00

12 lines
331 B
JavaScript

/**
* Web (plunker) version of systemjs.config.extras.js
* It should default to `.ts` extensions rather than `.js` extensions in almost all cases.
*/
System.config({
packages: {
// barrels
'app/model': {main:'index.ts', defaultExtension:'ts'},
'app/model/testing': {main:'index.ts', defaultExtension:'ts'}
}
});