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

Fixup and document cache attachment #58

Merged
merged 2 commits into from
Jun 26, 2019
Merged

Conversation

guybedford
Copy link
Contributor

This documents the APIs we've been using for cache persistence and symlink and permission handling.

In addition, it fixes up a cache bug with the public path emission, where we really need to ensure we have a plugin hook to maintain this injection in the fully cached case (as was happening with the bugs on vercel/ncc#442).

This isn't a great API I know, I'm hoping we can improve it. @sokra may have some ideas going forward especially since loaders needing plugin hooks to manage their cache tables seems like a generic problem.

@codecov-io
Copy link

Codecov Report

Merging #58 into master will decrease coverage by 0.06%.
The diff coverage is 80.95%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
- Coverage   76.23%   76.16%   -0.07%     
==========================================
  Files          10       10              
  Lines        1111     1112       +1     
==========================================
  Hits          847      847              
- Misses        264      265       +1
Impacted Files Coverage Δ
src/asset-relocator.js 83.67% <80.95%> (-0.14%) ⬇️

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 aee8cf9...2af3298. Read the comment docs.

@guybedford guybedford merged commit d654e70 into master Jun 26, 2019
@guybedford guybedford deleted the cache-plugin-attachment branch June 26, 2019 00:12
guybedford added a commit that referenced this pull request Jul 2, 2019
guybedford added a commit that referenced this pull request Jul 2, 2019
* Revert "Fixup and document cache attachment (#58)"

This reverts commit d654e70.

* Revert "use webpack public path in asset emission (#55)"

This reverts commit e5cff63.
@github-actions
Copy link

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants