Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

😈 [Improvement Proposal] - Adding babel relative imports to better manage UIWeb sdk #1288

Open
HarshRajat opened this issue May 15, 2024 · 0 comments · Fixed by #1289
Open

Comments

@HarshRajat
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant