There are no "style.css"
, "index.html"
in bundles
of generateBundle
hook
#6434
Labels
"style.css"
, "index.html"
in bundles
of generateBundle
hook
#6434
Describe the bug
There are no
"style.css"
,"index.html"
properties inbundles
argument ofgenerateBundle(opts, bundles, isWrite)
hook when I use a plugin as a Vite plugin (plugin: [myPlugin()]
), not as a Rollup plugin (build.rollupOptions.plugins: [myPlugin()]
).bundles
argument value looks like this:{"index.js": {...}, "vendor.js": {...}}
."style.css"
,"index.html"
fields are missed, while they exist when I use the same plugin inbuild.rollupOptions.plugins
array.For the reproduction uncomment these lines of the minimal reproduction repo
The related bug: #6421
Reproduction
https://github.com/AlttiRi/serve-json-gz-length-test
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: