79168443

Date: 2024-11-08 00:17:27
Score: 0.5
Natty:
Report link

In short, I think that the answer depends on the environment...

I'm recommending this package: https://github.com/single-spa/import-map-overrides

It works for browsers and NodeJS too...

You register your aliases in the main.js (or your entry point), then any other module can use that alias to import the aliased file.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: KLASANGUI