These are chat archives for systemjs/systemjs
I've got a Typescript Angular project and im trying to consume an external library by importing it's core.js file, which has the following in it
exports.AppComponent = require('./lib/AppComponent').AppComponent;
But I can't seem to get that to work with systemjs. It complains with
Uncaught ReferenceError: exports is not defined, which is true, but I thought systemjs was able to consume these files. Obviously it doesn't work this way so does anyone have any pointers in the right direction?
import something from ‘app/shared/my-module'instead of
import something from ‘../../shared/my-module’)? If so, how would you go about configuring systemjs to support this app namespace if you will, and still know to look in other locations (e.g. node_modules) for other modules? Thanks in advance.
baseURL, which is probably your project's root folder.