Skip to content

Alias Imports - #120

Merged
ctsstc merged 8 commits into
masterfrom
109-execution-context-clean-up
Apr 26, 2020
Merged

Alias Imports#120
ctsstc merged 8 commits into
masterfrom
109-execution-context-clean-up

Conversation

@ctsstc

@ctsstc ctsstc commented Apr 26, 2020

Copy link
Copy Markdown
Member

Changes

  • Import using an absolute pathed alias
  • You can now use @ to reference the /src directory
  • Instead of nasty relative imports now you can use @ as an alias to the src directory
  • Tests will use the alias
  • Node TS will compile and run using aliases as well
  • VSCode IDE recognizes the pathing based off of the tsconfig 🎉

Fixes

Notes

  • Branch name is completely misnamed :P
  • Version bump: 2.2.0

ctsstc added 8 commits April 26, 2020 04:20
I hope I'm doing this right 😬
Seems to be working so far
Server runs now 🎉
And tests are passing 🚀
Also adds @root
Only used by the package.json
Doesn't even feel right anyways

That should be the rest of them besides the ones that are in the same directory.

This should get any that traverse up directories
@ctsstc
ctsstc merged commit cca963a into master Apr 26, 2020
@ctsstc
ctsstc deleted the 109-execution-context-clean-up branch April 26, 2020 13:49
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.

[DevTooling] EZ Imports with Absolute Prefix

1 participant