Skip to content

Shared chunks are included multiple timesΒ #51

@flipatlas

Description

@flipatlas

Current behaviour πŸ’£

All the shared chunks are included multiple times as scripts in the output html page

Expected behaviour β˜€οΈ

Each chunk is included only once

Reproduction Example πŸ‘Ύ

https://github.com/flipatlas/rspack-repro-html-plugin-broken-chunks/tree/main

You can see that runtime.js for example has been included twice in rspack-dist/index.html but only once in webpack-html/index.html

Environment πŸ–₯

Same as in repro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions