Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.getConfig doesn't return all config #1344

Closed
casperlamboo opened this issue Jun 28, 2016 · 2 comments
Closed

System.getConfig doesn't return all config #1344

casperlamboo opened this issue Jun 28, 2016 · 2 comments

Comments

@casperlamboo
Copy link
Contributor

I tried to load the config from System.getConfig(). But it's missing some essential properties. The System.getConfig() looks like this

{
  "paths": Object,
  "meta": Object,
  "baseURL": "http://localhost:3000/",
  "map": Object,
  "warnings": false,
  "defaultJSExtensions": false,
  "pluginFirst": false,
  "loaderErrorStack": false,
  "packages": Object,
  "packageConfigPaths": Array,
  "bundles": Object,
  "depCache": Object,
  "production": false
}

Even though this is the config.jspm.js. Some properties defined in config.jspm.js are missing, such as

  • browserConfig
  • devConfig
  • transpiler

I believe browserConfig and devConfig are not that necessary but I could really use the transpiler property.

@casperlamboo casperlamboo mentioned this issue Jun 28, 2016
8 tasks
@guybedford
Copy link
Member

Thanks, I've fixed this in 3341825.

@guybedford
Copy link
Member

Released in 0.19.34.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants