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

feat: add "resolver" options to be able to use a different cdn #13

Closed
mastilver opened this issue Jun 12, 2017 · 0 comments · Fixed by #26
Closed

feat: add "resolver" options to be able to use a different cdn #13

mastilver opened this issue Jun 12, 2017 · 0 comments · Fixed by #26

Comments

@mastilver
Copy link
Owner

options.resolver

Type: string || function

Default: 'module-to-cdn' || 'module-to-jsdelivr'

Allow you to define a custom module resolver, it can either be a function or an npm module
The resolver should return either null or an object with the keys: name, var, url


Related to #3, but following a different / more modular logic

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

Successfully merging a pull request may close this issue.

1 participant