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(hook): expose utils instance via hook #106

Merged
merged 1 commit into from
Jul 1, 2021
Merged

Conversation

antfu
Copy link
Member

@antfu antfu commented Jun 30, 2021

This could be useful for other modules to reuse the utils instance with the injected configure (e.g. fire up a windicss analyser without scan again)

@codecov-commenter
Copy link

codecov-commenter commented Jun 30, 2021

Codecov Report

Merging #106 (1ff9d61) into master (1001822) will increase coverage by 0.29%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #106      +/-   ##
==========================================
+ Coverage   75.00%   75.29%   +0.29%     
==========================================
  Files           5        5              
  Lines          84       85       +1     
  Branches       15       15              
==========================================
+ Hits           63       64       +1     
  Misses         21       21              
Impacted Files Coverage Δ
src/index.ts 78.33% <100.00%> (+0.36%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1001822...1ff9d61. Read the comment docs.

@harlan-zw
Copy link
Member

Great idea! Thanks @antfu

@harlan-zw harlan-zw merged commit fa0aa10 into master Jul 1, 2021
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.

3 participants