These are chat archives for systemjs/systemjs

29th
Dec 2017
Marcio Frayze
@marciofrayze_twitter
Dec 29 2017 16:28
Hi all. I'm testing System.js with typescript, and it works fine when loaded from a .ts file. But what I really need to do is compile a typescript code from a String and not from a file. I'm trying to create a live coding on the browser. So the user (a student) enters a typescript code on the browser editor and I want to use System.js and Typescript to transpile it to javascript and then execute the code in the browser.
So I have a String with the code... is it possivel to use System.js and Typescript to transpile it to javascript inside the browser?