Skip to content

Expose webpack build stats (like hash) for plugins #2489

@Uninen

Description

@Uninen

What problem does this feature solve?

I'm trying to build a plugin that would write webpack build hash in a file that a backend framework (in this case Django) could read for better integration between front and backend. The current UI app reads the generated stats JSON and then deletes it, but I haven't found a way to hook into this data. It would be useful to be able to get either the hash or the full webpack generated stats file in development mode, too.

What does the proposed API look like?

For example, add configuration like: "webpackStats: true" and "webpackStatsFile: 'stats.json'"

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