Open danielroe opened 3 months ago
Nitro v2.9.6
nitro & webpack-dev-middleware (Sorry, stackbliz doesn't seem to work.) https://stackblitz.com/edit/github-yqcgdy
express & webpack-dev-middleware (not reproduced) https://stackblitz.com/edit/github-mawhuh
Strangely, with nitro, the requested bundle is broken.
reproduction from @wattanx
When loading a webpack bundle, long lines can be truncated and therefore invalid JS is returned.
originally https://github.com/nuxt/nuxt/issues/26951
No response
Environment
Nitro v2.9.6
Reproduction
nitro & webpack-dev-middleware (Sorry, stackbliz doesn't seem to work.) https://stackblitz.com/edit/github-yqcgdy
express & webpack-dev-middleware (not reproduced) https://stackblitz.com/edit/github-mawhuh
Strangely, with nitro, the requested bundle is broken.
Describe the bug
When loading a webpack bundle, long lines can be truncated and therefore invalid JS is returned.
Additional context
originally https://github.com/nuxt/nuxt/issues/26951
Logs
No response