Skip to content

Feature request: expose errors to plugins #481

@tiye

Description

@tiye

By now errors in Webpack is handled like this, an error message:

        errors: function(errors) {
            status.text("App updated with errors. No reload!");
            okness.text("Errors while compiling.");
            $errors.text("\n" + stripAnsi(errors.join("\n\n\n")) + "\n\n");
            header.css({borderColor: "#ebcb8b"});
            $errors.show(); iframe.hide();
        },

If that code is exposed then we may get error messages like this with plugins, and it can be quite convenient, as it already was in ClojureScript projects.


update:

I made a prototype https://github.com/mvc-works/webpack-hud

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