These are chat archives for systemjs/systemjs

18th
Apr 2018
Michael Milbrath
@mmilbrath
Apr 18 2018 21:58

Currently I'm evaluating updating to latest JSPM/SystemJS and I realize some path configuration and behavior has changed but not sure how to configure to get the desired behavior. In earlier version we were able to specify the wildcard as shown below so that requests got translated into "webapp/*". In the latest version, the paths appear to have gotten separated out which makes sense but the requests are no longer getting translated as desired. In addition I'm seeing warnings about the use of wildcards within paths. I've read through https://github.com/systemjs/systemjs/blob/master/docs/config-api.md#paths, but a little unclear on how to properly configure new version. Appreciate any pointers...

SystemJS v0.19.46

config.js

...
  baseURL: "",
  ...
  paths: {
    "*": "webapp/*",
    "github:*": "jspm_packages/github/*",
    "npm:*": "jspm_packages/npm/*"
  },
...

SystemJS v0.20.19
jspm.config.js

...
  baseURL: "",
  ...
  paths: {
    "github:": "jspm_packages/github/",
    "npm:": "jspm_packages/npm/"
  },
  browserConfig: {
    "paths": {
      "*": "webapp/*",
    }
  },
...