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

fix(additional-assets): adds missing method #433

Merged
merged 1 commit into from
Mar 6, 2021
Merged

Conversation

Toolo
Copy link
Contributor

@Toolo Toolo commented Jan 15, 2021

What kind of change does this PR introduce? (bugfix, feature, docs update, improvement)

bugfix

What is the current behavior? (You can also link to an open issue here)

When using the plugin with extract: true config option along compression-webpack-plugin, webpack.cache.PackFileCacheStrategy crashes.

What is the new behavior (if this is a feature change)?

Defining this method fixes the issue with my current build configuration.

Found the expected asset structure here: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/webpack/index.d.ts#L924

Does this PR introduce a breaking change?

No, it doesn't

Please check if the PR fulfills contributing guidelines

When using the plugin with `extract: true` config option along `compression-webpack-plugin`, `webpack.cache.PackFileCacheStrategy` crashes.

This fixes the issue by defining the expected method.
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.

2 participants