Closed philipwalton closed 3 years ago
Possibly related issue: https://github.com/danethurber/webpack-manifest-plugin/issues/110
Hey all! I've taken over maintenance of the plugin and am doing some housecleaning. For Issues over a year old without a reproduction, we're going to go the route of closing them first. However, they're not dead! If the issue is still pending and still a problem, please reply with a reproduction and we'll reopen post-haste.
Please provide a reproduction by choosing one of the options below:
Provide a minimal repository link (Read https://git.io/fNzHA for instructions). Please use NPM for installing dependencies! These may take more time to triage than the other options.
⚠️ ZIP Files are unsafe and maintainers will NOT download them.
I ran into an issue today where my output was not what I expected it to be, and I wait to raise it for discussion. In my app I'm using two configs to generate separate
.mjs
and.es5.js
files. The.mjs
works as expected, but the.es5.js
doesn't.Here's the relevant part of my config:
And this produces a manifest like the following:
This is unexpected to me. The key from my main script file is
main.js
, but I expected it to bemain.es5.js
.Essentially, I wanted the keys to be the output filename with the hash information removed (as well as any leading
-
/_
/.
) but what I actually get is just the entry name plus the file extension.Since I'm using two configs but building a single manifest, the current behavior produces two entries for
main.js
, and the second one gets overridden.