Skip to content

[0.21.0] Some 3rd-party plugins are not able to get correct/full vendor.js content #435

@jfcherng

Description

@jfcherng

Recently I am playing with brotli-webpack-plugin but I found that the generated pre-compressed vendor.HASH.js.br does not contain the content of _tmp_shared.HASH.js.

After searching in the source codes, I found that the content of _tmp_shared.HASH.js is appended to vendor.HASH.js at the very last second (the done compiler hook). But the brotli-webpack-plugin (and many other webpack plugins?) hooks on the emit compiler hook so it just never gets the correct/full source.

Ideally, "appending _tmp_shared.HASH.js to vendor.HASH.js" should be performed earlier?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions