These are chat archives for systemjs/systemjs

21st
Oct 2015
Simon Hampton
@simonh1000
Oct 21 2015 05:55
@AStoker I was using Visual Studio Code. On SO I learnt that typescript is disappearing as a compiler, and meanwhile I found a respository that had the latest angular up and working so I decided to go with that, as it was Angular not SystemJS that I needed to learn this week.
Mithun Dhiman
@mi2oon
Oct 21 2015 09:00
Hi there, I was just wondering is there a way to set the default entry point to index.js if the path if resolved unsuccessfully in an import- ex: import foo from 'common/bar' now common bar could be a file or a folder. So, is there a way to make it resolve into import foo from 'common/bar/index.js' Hope you guys understand what I am trying to say.
Hans van den Akker
@mysim1
Oct 21 2015 12:47
I’m using meta: { } in SystemJS to configure my plugins for extension based activation. Works when bundling my app. Runtime. no go. config.js is linked in the runtime environment. Any suggestions?
Hans van den Akker
@mysim1
Oct 21 2015 13:17
meta fixed. path / map inconsistency.
Guy Bedford
@guybedford
Oct 21 2015 15:50
@mi2oon try using System.config({ packages: { 'common/bar': { main: 'index.js' } })
Mithun Dhiman
@mi2oon
Oct 21 2015 19:47
@guybedford Thanks for replying Guy. But I was wondering if there was a way to define it for all packages at ones.