Skip to content

Dev - Bundles Contain Duplicate Code #877

Closed
@pastelsky

Description

@pastelsky

The output of npm run build generates a bunch of .js split points, and each of them seem to have a copy of preact and other npm libs.

I tried introducing CommonsChunkPlugin in webpack.config, but don't find any commons file being generated. This is pretty inefficient and perhaps loading a single commons bundle upfront would be better.

@bebraw Any clue if this config comes from antwar side of things?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions