Open sebastianst opened 3 years ago
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.
Since we use 1.
#erdstall
via animports
config inpackage.json
and 2. apaths
translation intsconfig
, we should be able to remove the packagetsconfig-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 usingttsc
.I was able to remove it in
nerd-marketplace
as well.