These are chat archives for systemjs/systemjs

Nov 2017
Nov 09 2017 18:27
What's the advantage of systemjs over webpack and CLI
Matthew James Davis
Nov 09 2017 18:51
systemjs doesn't cause cancer
whats cli btw
kinda joking but really systemjs is (a) a bit more standards focused than webpack (if i'm not mistaken) and (b) a lot easier to set up
systemjs is a few things. its a package manager via jspm where webpack uses npm, its a module loader where webpack just gives you the chance to plug in various loaders, and its a bundler, which is mostly what webpack is.
for this reason, systemjs is a bit more of a one stop shop for module loading, and so configuration and set up is quite straightforward
whereas webpack is more designed to solve general front end problems, and you can solve tougher problems with it, for example better css bundles, but it also requires a great deal of configuration and set up
Nov 09 2017 19:54
i have an entry point like this: System
.import('app/bootstrapper.js') but when I bundle it needs to be this System
.import('bootstrapper'), I was thinking about using the has function to determine which one is valid is this best practice?
Nov 09 2017 19:56

@aino-gautam you can write js inside a ts file like

function clickme(){}

<button onclick="clickme()">

Use angular5 to have better utilization of typescript

@davismj yea probably wrong question at this point - sorry should have include the subject on 'ng5'
Matthew James Davis
Nov 09 2017 20:10
what happened to angular 2-4?
Miloš Lapiš
Nov 09 2017 22:40
@davismj ... just evolution process ... using semver logic.