These are chat archives for systemjs/systemjs

29th
Jun 2017
Patricio Ferreira
@kuakman
Jun 29 2017 16:41
Hello everyone
Nick George
@Izzmo
Jun 29 2017 17:46
Hi @kuakman
Patricio Ferreira
@kuakman
Jun 29 2017 17:47
How is it going @Izzmo?
Nick George
@Izzmo
Jun 29 2017 17:53
@kuakman pretty good, how about yourself?
Patricio Ferreira
@kuakman
Jun 29 2017 17:53
pretty well, just playing with systemjs a little bit, trying to find the best workflow possible (pipeline) test - dev - prod for a new project in my company
actually didn’t want to pollute the repo with questions, so I joined this room
Nick George
@Izzmo
Jun 29 2017 17:54
@kuakman very cool. I have integrated it into that setup for my company and it works pretty great.
Patricio Ferreira
@kuakman
Jun 29 2017 17:55
yup, finding alternatives to webpack which I don’t like it much
so here is an screenshot
trying to figure why import React, { Component } from ‘react’; Component returns undefined, but I get React.Component right
considering that react and react-dom has been bundled with systemjs builder
Patricio Ferreira
@kuakman
Jun 29 2017 18:03
setup
Guy Bedford
@guybedford
Jun 29 2017 20:20
@kuakman this is a common catch, see http://guybedford.com/systemjs-alignment#node-modules-compatibility for some of the reasoning behind this.
Patricio Ferreira
@kuakman
Jun 29 2017 20:49
@guybedford thanks for the link! I guess people at my company can live with no named exports. All good.
Now, working on trying to bundle cjs libraries, specifically enzyme (by airbnb - neat unit test framework for react components)… that’s a little bit problematic :worried:
Patricio Ferreira
@kuakman
Jun 29 2017 21:00
Btw @guybedford, your project inspired me to experiment and create a module bundler with support for cjs, amd and es. Still way too green https://github.com/nahuelio/squarebox/tree/bundle