Skip to content

Conversation

@marcins
Copy link

@marcins marcins commented Aug 25, 2020

This change implements a cache for Sources generated by this plugin so that on subsequent builds (i.e. incremental builds) we can re-use the same Source if the content hasn't changed.

This improves performance with Webpack's futureEmitAssets mode, where there is a cache based on Source referential identity that determines whether an asset should be re-emitted.

Fixes #7

This change implements a cache for Sources generated by this plugin
so that on subsequent builds (i.e. incremental builds) we can re-use
the same Source if the content hasn't changed.

This improves performance with Webpack's `futureEmitAssets` mode, where
there is a cache based on Source referential identity that determines
whether an asset should be re-emitted.

Fixes levp#7
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.

All output files register changes with any file change while watching

1 participant