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

Conditional loading on config does not use defaultExtension #1269

Closed
filipesilva opened this issue May 15, 2016 · 5 comments
Closed

Conditional loading on config does not use defaultExtension #1269

filipesilva opened this issue May 15, 2016 · 5 comments

Comments

@filipesilva
Copy link

filipesilva commented May 15, 2016

Trying to conditionally load a file without extension within System.config (but with defaultExtension defined for the package) doesn't seem to work. Adding the extension manually works fine though.

  packages: {
    'env':{
      defaultExtension: 'ts',
      "map": {
        "./environment": "./environment.#{env/current-environment}"
      }
    }
  },

Plunker: http://plnkr.co/edit/0LXFkQP60HfJWeAkgMUy?p=preview

@guybedford
Copy link
Member

Sure we can add support for this.

@filipesilva
Copy link
Author

Cool, thank you :D

@guybedford
Copy link
Member

Fixed in 7c67360.

@filipesilva
Copy link
Author

Nice, looking forward to it!

@guybedford
Copy link
Member

Released in 0.19.28.

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