Created
March 30, 2018 21:27
-
-
Save carloslfu/21b574501ca22ffb714d63ab5fe6b835 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