These are chat archives for systemjs/systemjs

13th
Sep 2015
Simon Hampton
@simonh1000
Sep 13 2015 09:54
I'm getting an error on my server GET /system.js.map 500. How can I get my build system to create this file and other sourcemaps (using babel)
Simon Hampton
@simonh1000
Sep 13 2015 10:02
@tuurbo Is you error related to systemjs/systemjs#740
Eric Martinez
@ericmartinezr
Sep 13 2015 22:10

Hey guys, is there anyway to load two or more files using one map/path? There are my failed attempts

// Attempt 1
packages : {
    'rx' : {
        main : '../node_modules/rx/dist/rx.all.min', // There are a few functions/extensions that are not included in rx.all
        meta : {
        '../node_modules/rx/dist/*' : {
            format : 'global'
        }
    }
}
// Attempt 2
meta : {
    'node_modules/rx/dist/rx.*.min.js' : {
        format : 'global',
        exports : 'rx'
    }
}
// Attempt 3
System.bundles['rx'] = ['node_modules/rx/dist/*.js'];

I can do this with two simple <script src="...">, but I want to know if this is possible with Systemjs.

Peter Müller
@Munter
Sep 13 2015 23:23
@ericmartinezr if this was possible, which of the two file's exports would be the return value?