These are chat archives for systemjs/systemjs

27th
May 2015
Ryan Metin
@RyanMetin
May 27 2015 00:36
Does anybody have an example of system.js transpiling with TypeScript?
Micah Zoltu
@MicahZoltu
May 27 2015 00:49
@TheVelourFog I transpile TypeScript to SystemJS compatible ES5.
You need to be using TypeScript 1.5, --module='system, and --target='ES6'
I believe that TS 1.5 is going to be fully released any day now.
Ryan Metin
@RyanMetin
May 27 2015 01:19
@Zoltu I meant using TS through the es6-module-loader (e.g. System.transpiler = 'typescript'). I just noticed that is an option.
Micah Zoltu
@MicahZoltu
May 27 2015 01:19
Oh, the runtime transpiler? I haven't tried it, sorry. :/
Micah Zoltu
@MicahZoltu
May 27 2015 01:25
What is the easiest way to play around with ES6/ES7 in a test environment?
Is there an ES6/7 playground somewhere?
Rob Wormald
@robwormald
May 27 2015 01:26
@Zoltu www.es6fiddle.com for the simplest
babel has a a repl http://babeljs.io/repl/
Micah Zoltu
@MicahZoltu
May 27 2015 01:27
Thanks!
Rob Wormald
@robwormald
May 27 2015 01:30
or a simple plunk if you prefer http://plnkr.co/edit/fGgrfxW2pY5TNluRWdKl?p=preview
Patrick Walters
@PWKad
May 27 2015 01:40
Is there a way to disable system.js from overriding the require function for common.js modules somehow?
Andy Novocin
@AndyNovo
May 27 2015 03:52
So I'm looking at angular 2.0 a bit, and their quick start compiles typescript to js which they import using system.js. I would love to have a plunker boilerplate for messing with angular2 but compiling typescript and importing is tough. I found an old library that will compile typescript and run it immediately any ideas on how to compile JIT and then import using system?
Veaceslav Cotruta
@katrotz
May 27 2015 10:00
Did anyone encountered problems in using SystemJS on websites served over HTTPS?
Guy Bedford
@guybedford
May 27 2015 12:44
@PWKad the CommonJS require is available at System._nodeRequire if you need to revert it
Patrick Walters
@PWKad
May 27 2015 12:45
Cool I was actually using something like requireNode = require before loading system.js but this is probably cleaner
Andrew Kazyrevich
@andreister
May 27 2015 20:24

I look into an Aurelia sample project, its config.jslooks like

System.config({
   ...
  "paths": {
    "*": "dist/*.js",
    "github:*": "jspm_packages/github/*.js",
    "npm:*": "jspm_packages/npm/*.js",
    "aurelia-skeleton-navigation/*": "dist/*.js"
  },
  ...

but there's no dist folder - how is that supposed to work, how are paths settings actually used?