Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

fix: regenerate contenthash when assets was minified #386

Merged

Conversation

alexander-akait
Copy link
Member

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

Regenerate contenthash when assets was minified

Breaking Changes

No

Additional Info

No

@codecov
Copy link

codecov bot commented Dec 22, 2018

Codecov Report

Merging #386 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #386      +/-   ##
==========================================
+ Coverage   98.52%   98.56%   +0.03%     
==========================================
  Files           5        5              
  Lines         272      278       +6     
  Branches      107      107              
==========================================
+ Hits          268      274       +6     
  Misses          4        4
Impacted Files Coverage Δ
src/index.js 98.02% <100%> (+0.08%) ⬆️

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 f61439d...f4269a8. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Dec 22, 2018

Codecov Report

Merging #386 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #386      +/-   ##
==========================================
+ Coverage   98.52%   98.56%   +0.03%     
==========================================
  Files           5        5              
  Lines         272      278       +6     
  Branches      107      107              
==========================================
+ Hits          268      274       +6     
  Misses          4        4
Impacted Files Coverage Δ
src/index.js 98.02% <100%> (+0.08%) ⬆️

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 f61439d...f4269a8. Read the comment docs.

@alexander-akait alexander-akait merged commit 65a30da into master Dec 22, 2018
@alexander-akait alexander-akait deleted the fix-regenerate-contenthash-when-assets-was-minified branch December 22, 2018 16:15
// We have 1 async chunk (1 * 2 = 2 calls for ChunkTemplate)
expect(mockMainTemplateUpdateHashForChunk).toHaveBeenCalledTimes(8);
// We have 4 initial chunks (4 * 2 = 8 calls for MainTemplate)
expect(mockChunkTemplateUpdateHashFocChunk).toHaveBeenCalledTimes(2);

Choose a reason for hiding this comment

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

Are the comments and codes in wrong order?

Copy link
Member Author

Choose a reason for hiding this comment

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

@hsxfjames oh, sorry, feel free to send a PR with fix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants