Skip to content

Files generated by webpack plugins are not being added to the manifest file. #245

Description

@Levdbas

Expected Behavior

when running npm run dev index.asset.json, generated by @wordpress/dependency-extraction-webpack-plugin, is also added to the manifest file.

Actual Behavior

index.asset.json is missing from manifest file.

Additional Information

I've the same issue with other webpack plugins that emit files as well, but I have limited this repo to only one example.
Nice detail: when setting webpack to 4.46 and webpack-manifest-plugin to 2.2.0 and retry to run npm run dev index.asset.json does get added to the manifest file.

So it seems like the files like this outside the entry files are not being added to the manifest. Any idea?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions