Skip to content

Feature: Solve hooks path issue#340

Open
adilkadivala wants to merge 3 commits intoopen-source-uom:mainfrom
adilkadivala:feature/kadi-old
Open

Feature: Solve hooks path issue#340
adilkadivala wants to merge 3 commits intoopen-source-uom:mainfrom
adilkadivala:feature/kadi-old

Conversation

@adilkadivala
Copy link
Copy Markdown
Contributor

@adilkadivala adilkadivala commented Apr 30, 2025

added path alias for hooks

importing file like ../../../hooks/file.js is a headache, so instead of that @/hooks/file.js is just a peace of cake,

Related Issue

path aliases #124

fixes #124

How Has This Been Tested?
use @/folder/filename

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@adilkadivala adilkadivala changed the title Feature/kadi old Feature: Solve hooks path issue Apr 30, 2025
@shivarm
Copy link
Copy Markdown
Contributor

shivarm commented Apr 30, 2025

@adilkadivala we did not migrate to ts yet then why these changes are required?

@adilkadivala
Copy link
Copy Markdown
Contributor Author

Yeh bro I saw it..
I feel that cleaner imports also help in JS too. so I solve that .. it's working fine..

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 this pull request may close these issues.

typescript: path aliases

2 participants