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

Remove package tsconfig-paths and its registrations #35

Open
sebastianst opened this issue Jul 28, 2021 · 1 comment
Open

Remove package tsconfig-paths and its registrations #35

sebastianst opened this issue Jul 28, 2021 · 1 comment

Comments

@sebastianst
Copy link
Contributor

Since we use 1. #erdstall via an imports config in package.json and 2. a paths translation in tsconfig, we should be able to remove the package tsconfig-paths and also all registrations, e.g. in the mocha test scripts (-r tsconfig-paths/register). Note that we also translate paths in the output transpilate using ttsc.

I was able to remove it in nerd-marketplace as well.

@ndzik
Copy link
Contributor

ndzik commented Jan 27, 2023

With our current SDK structure we cannot get rid of tsconfig-paths. This plugin is necessary for distributing our SDK with relative paths instead of the absolute ones we use referenced with a #erdstall prefix.
Removing tsconfig-paths would force us to incorporate a separate bundler like webpack which in turn just becomes another tool with its own configs to maintain and use.

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

No branches or pull requests

2 participants