Skip to content

Feature: Allow transform to be a promise. #27

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
2 tasks done
ryan-roemer opened this issue Feb 28, 2018 · 0 comments
Closed
2 tasks done

Feature: Allow transform to be a promise. #27

ryan-roemer opened this issue Feb 28, 2018 · 0 comments

Comments

@ryan-roemer
Copy link
Member

ryan-roemer commented Feb 28, 2018

  • Add promise handling
  • Add demo test case.
ryan-roemer added a commit that referenced this issue Mar 1, 2018
* Allow `opts.transform` to be a `Promise` as well as a `Function`. Fixes #27 
* *Bug*: Correctly fail plugin if `opts.transform` throws in webpack4.
* *Test*: Test errors in all versions of webpack.
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant