Closed Rishi500 closed 1 year ago
Issue: In webpack v4. sourceMappingURL has legal comment //# example: //# sourceMappingURL: xyz.chunk.js.map
As per esbuild docs, it does not consider //# as a legal comment hence it is getting removed during minification.
NA
this is not environment specific.
Not really sure what you mean. Can you provide a minimal reproduction?
Happy to reopen once the bug is demonstrated.
Bug description
Issue: In webpack v4. sourceMappingURL has legal comment //# example: //# sourceMappingURL: xyz.chunk.js.map
As per esbuild docs, it does not consider //# as a legal comment hence it is getting removed during minification.
Minimal reproduction link
NA
Environment
Can you contribute a fix?