Skip to content

Webpack atomizer-plugins: images are broken after webpack build #609

@a-gunderin

Description

@a-gunderin

Issue: Images (jpg, png, webp) are broken after project build

Repo with bug: https://github.com/a-gunderin/webpack-starter/tree/bug-atomizer

There is minimal code to reproduce the issue.

  1. install and generate dist
npm i
npm run build
  1. open ./dist/img directory
  2. try to open the SVG image => OK
  3. try to open the PNG image => ERROR: image is broken

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