push-protocol/push-sdk

๐Ÿ˜ˆ [Improvement Proposal] - Adding babel relative imports to better manage UIWeb sdk

Opened this issue ยท 0 comments

Proposal name

Adding babel relative imports to better manage UIWeb sdk

Describe the Proposal

Current UIWeb sdk becomes hard to manage since relative imports rely on finding folder by ../... This PR enables babel plugin to define naming for specific folders making the process easier.

Use Case

Example:
import { extractWebLink, getFormattedMetadata, hasWebLink } from '../../../../../utilities'; becomes import { extractWebLink, getFormattedMetadata, hasWebLink } from 'utilities';

Current Limitations

NA