While there is a lot of questionsquestions and documentation on SystemJS, I still don't understand the import syntax.
Specifically, why can typescript not find ng-boostrap.js using this code:
import { createPlatform } from '../../node_modules/@ng-bootstrap/ng-bootstrap/bundles/ng-bootstrap',
which is directly importing the file, but this code works:
import {createPlatform } from './node_modules/@angular/core/bundles/core.umd.js';
where my map in systemjs.config.js contains the line:
'@angular/core': 'npm:@angular/core/bundles/core.umd.js'.
Why I can not import directly from node_modules using systemJS?