designcourse icon indicating copy to clipboard operation
designcourse copied to clipboard

🎨 Use a more specific chunk name for recorder

Open romulof opened this issue 10 months ago • 1 comments

Motivation

When RUM SDK async loads recorder, it instructs webpack to use the name recorder for the chunk. Declarin a name is nice, as it keep awareness of the purpose of the file, but the name recorder might conflict with other people's chunk names.

Changes

Simply rename recorder chunk name to datadog-recorder, making clear its origin and purpose, while avoiding possible conflicts.

Testing

Build and check the chunk name in build output directory.

  • [ ] Local
  • [ ] Staging
  • [ ] Unit
  • [ ] End to end

I have gone over the contributing documentation.

romulof avatar Feb 07 '25 17:02 romulof

CLA assistant check
All committers have signed the CLA.

bits-bot avatar Feb 07 '25 17:02 bits-bot

Hi @romulof, thanks for your suggestion, it would indeed be better.

As it would be a breaking change, we will track it internally and consider it for the next major release (no ETA for now).

bcaudan avatar Jun 30 '25 14:06 bcaudan