Skip to content

Production build includes two copies of preact? #126

@ethanroday

Description

@ethanroday

Steps to reproduce:

  1. npm install -g preact-cli
  2. preact create <app>
  3. cd <app>
  4. preact build --json
  5. Inspect stats.json using a Webpack stats analyzer (this one is from webpack-bundle-analyzer):

image

Expected behavior:

The preact library should only be included once in bundle.js.

Actual behavior:

It is included twice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions