These are chat archives for systemjs/systemjs

18th
Apr 2016
Frederik Schubert
@frederikschubert
Apr 18 2016 00:03
I am authoring the facade as well as the using code. I only use named exports.
So there are three modules, api.ts, service.ts and facade.ts. In the api I do export class SomeAPI {…}. In the facade I do export * from „./api“; and in the service I import the api via import {SomeAPI} from „./facade“
And SomeAPI in the service module is undefined. Only when I directly import it via import {SomeAPI} from „./api“ it is defined.
Frederik Schubert
@frederikschubert
Apr 18 2016 03:28
Tried the re-export with the example project of the typescript-plugin and it worked so it is probably my fault.
Frederik Schubert
@frederikschubert
Apr 18 2016 03:51
The only difference now is that I am using jspm 0.16.33 and transpile directly with the plugin to es5 and the example uses jspm 0.17 and transpiles first to es6 and then using plugin-Babel to es5