systemjs / builder

SystemJS build tool
MIT License
465 stars 122 forks source link

How to fix 'Paths configuration XXX uses wildcards which are being deprecated for just leaving a trailing "/" to indicate folder paths.' and how to fix 'defaultJSExtensions configuration option is deprecated ...' #855

Open ericnewton76 opened 6 years ago

ericnewton76 commented 6 years ago

Given a config.js similar to:

System.config({
  defaultJSExtensions: true,
  transpiler: "plugin-babel",
  babelOptions: {
    "optional": [
      "runtime",
      "optimisation.modules.system"
    ]
  },
  paths: {
    "github:*": "jspm_packages/github/*",
    "npm:*": "jspm_packages/npm/*"
  },
  warnings: true,

  meta: {
    "*": {
      "babelOptions": {
        "react": true
      },
      "defaultExtension": "js"
    }
  },

  map: {
    "accounting": "npm:accounting@0.4.1",
    "babel": "npm:babel-core@5.8.38",
    "babel-runtime": "npm:babel-runtime@5.8.38",
    "core-js": "npm:core-js@1.2.7",
"---snip---":"--------------------snip-------------------------"
  }

I'm not sure how to fix this warning. Tried removing the wildcard from either side and both sides but still get either deprecation warning or failure to find package.