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

If no promise library specified, use global Promise #10

Open
tlrobinson opened this issue Oct 29, 2016 · 1 comment
Open

If no promise library specified, use global Promise #10

tlrobinson opened this issue Oct 29, 2016 · 1 comment

Comments

@tlrobinson
Copy link

Many platforms now have promises built in, and it seems like promise-loader should use that by default.

@mastilver
Copy link

You can use global as the promise lib arg

var load = require("promise?global!./file.js");

But I agree, it should be using the global one by default

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