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

Add support for Promises in file transformers #124

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cprecioso
Copy link

Addresses #112 for Promise-based transforms while the callback-based transforms are being worked out.

I've added a test case for this and it's the first time I've done one, so please review whether it is appropriate and in the correct place.

process.nextTick doesn't accept `args` argument in node 0.12

writeToCacheDir( code, map, codepath, dest )
Copy link
Author

@cprecioso cprecioso Jun 9, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this promise chain be returned so if there's an error it'll propagate? I copied the current implementation, but I think it might be an error.

@cprecioso
Copy link
Author

(Even though the Windows builds have a failed test, it doesn't seem to have anything to do with what I modified)

@cprecioso
Copy link
Author

Anyone? @Rich-Harris ?

@legomind
Copy link

legomind commented Dec 1, 2016

really need this. @cprecioso is this project dead?

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 this pull request may close these issues.

2 participants