How to use the systemjs.resolveSync function in systemjs

To help you get started, we’ve selected a few systemjs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github heineiuo / react-web / src / Bucket.js View on Github external
systemRegisties.forEach(item => {
  global[item.name] = item.default
  item.aliasName.forEach(name => {
    global[name] = item.default
  })
  System.registry.set(
    System.resolveSync(item.name),
    System.newModule(item.default)
  )
})