-
-
Save abner/9dbe015cb3ca55e6256d1adf0d8e8964 to your computer and use it in GitHub Desktop.
Stackblitz resolver with Github support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Resolver, NpmHttpRegistry } from '@stackblitz/turbo-resolver'; | |
function resolve(dependencies){ | |
const resolver = new Resolver(); | |
return resolver.resolve(dependencies); | |
} | |
resolve({ | |
"rxjs": "https://github.com/reactivex/rxjs", // Master branch of Rx.js repo | |
"left-pad": "*", | |
"zone.js": "latest", | |
"@angular/core": "~5.2.0" | |
}).then(results => console.log(results)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment