These are chat archives for systemjs/systemjs

2nd
Nov 2016
Tom Clement
@tjclement
Nov 02 2016 13:54
Weird case: from within NodeJS, SystemJS.import('an_es6_module.js') results in a Module object that has an undefined inner property. Digging deeper, the load connected to this module does have a status of 'linked', and has its source set correctly too, but load.module.module is undefined.
Has anyone seen anything similar with successfully linked files not having a module object created properly?
Tom Clement
@tjclement
Nov 02 2016 14:22
Solved this ^, it was just a visual bug in the debugger. The module wasn't undefined after all
mtkastner
@mkastner
Nov 02 2016 16:29
Hi
Anybody around?
Tom Clement
@tjclement
Nov 02 2016 16:32
@mkastner What's up?
mtkastner
@mkastner
Nov 02 2016 16:33
Well, I could use some help.
Tom Clement
@tjclement
Nov 02 2016 16:37
You can just type your question, usually you'll have a response in a bit
mtkastner
@mkastner
Nov 02 2016 16:41
Oh, ok, this is my first time, so I'm a total rookie in this chat. Here's thing:
I've got this jspm-config file (this is just an excerpt) and my code just never gets transpiled by babel.
System.config({
  baseURL: "/",
  defaultJSExtensions: true,
  transpiler: "plugin-babel", 
  babelOptions: {
    "optional": [
      "runtime",
      "optimisation.modules.system"
    ],
    "compact": true
  },
etc.
Tom Clement
@tjclement
Nov 02 2016 17:50
What's your build command? And what content ends up in your bundled code?
I don't see anything immediately wrong with this, although I'm not familiar with your babel options
mtkastner
@mkastner
Nov 02 2016 18:02
Oh well, turns out it actually got transpiled, but I was looking at the wrong file. Thanks for taking the time. I apologize for having wasted it.
Jonas Kello
@jonaskello
Nov 02 2016 21:27
Seems like some interesting work is happening towards 1.0 in #1481 . I'm a bit confused by this though "hooks no longer exist (just normalize)". Does that mean that plugins like plugin-css no longer will work or will have to be rewritten?