These are chat archives for systemjs/systemjs

13th
Oct 2016
Sebastian K
@Nimelrian
Oct 13 2016 15:24

I'm using node. If I want to do

import chai from chai

and define my System.config as

System.config({
    ...
    map: {
        ...
        'chai': 'node_modules/chai/lib/chai.js',
        ...
    }
    ...
});

I still get errors because lib/chai.js tries to load additional dependencies. How do I config SystemJS right to load modules from node_modules?

David Jackson
@davidwallacejackson
Oct 13 2016 19:56
I'm trying to create a style library for my team's projects that contains a mix of scss and js -- was hoping it could be something I could just install and import into other projects. I started with Webpack, but it's getting... weird. Would systemjs fit this use case any better?