Skip to content

Stop outputting long list of Error parsing bundle asset errors when the build fails #655

Description

@fregante

When the build fails, webpack-bundle-analyzer fills up the logs with irrelevant lines:

Error parsing bundle asset "apps/admin-console/bundles/main-a005b5463f19ca11727d.min.js": no such file
Error parsing bundle asset "apps/admin-console/bundles/CustomFormComponent-648471e17196c5edc242.min.js": no such file
Error parsing bundle asset "apps/admin-console/bundles/WebAppPlatformLayout-3ff85759162b39d96eaa.bundle.min.js": no such file
Error parsing bundle asset "apps/admin-console/bundles/21983-1d2ef12ba1460dcedee5.bundle.min.js": no such file
Error parsing bundle asset "apps/admin-console/bundles/AdminConsoleLayout-86f8bbbfa0d21a23d0fe.bundle.min.js": no such file
Webpack Bundle Analyzer saved report to apps/admin-console/report.html

This time 100 because my build is generating several small bundles (icons)

The plugin should detect failure and avoid trying to read bundles that don't exist

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions