rollbar.js icon indicating copy to clipboard operation
rollbar.js copied to clipboard

Add path aliases for cleaner imports

Open matux opened this issue 7 months ago • 0 comments

Description of the change

I was getting tired of the relative subdirs when doing imports and checked if there's an idiomatic way of improving how we can refer to different paths without crawling for directories. Turns out there's, path aliases.

Added some configuration and updated the imports and it seems to be working just fine. Although I don't know if this could generate other issues for SDK users.

[!NOTE] I didn't change all the files, just the ones I've been working with recently, just as a PoC. If you guys want, I can propagate this to the rest of the SDK.

Type of change

  • [ ] Bug fix (non-breaking change that fixes an issue)
  • [ ] New feature (non-breaking change that adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [x] Maintenance
  • [ ] New release

matux avatar May 09 '25 22:05 matux