You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This allows me to keep all my ts code in one folder (src) and the entire project after compiling in another (dist). Which is great to avoid uploading useless files to git. However, I have now run into the problem that your TypescriptGenerator.ts always uses the baseUrl as a prefix (which messes up all my paths).
The easiest fix for this would be a way to allow users to use the outDir as a prefix instead. A simple boolean during the setup would be enough.
The text was updated successfully, but these errors were encountered:
In my tsconifg file I have the following lines:
"outDir": "dist",
"baseUrl": "src",
This allows me to keep all my ts code in one folder (src) and the entire
project after compiling in another (dist). Which is great to avoid
uploading useless files to git. However, I have now run into the problem
that your TypescriptGenerator.ts always uses the baseUrl as a prefix (which
messes up all my paths).
The easiest fix for this would be a way to allow users to use the outDir
as a prefix instead. A simple boolean during the setup would be enough.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ACKT9DIypfwGwiogchKTdegGVxuwUmFEks5uSxqfgaJpZM4WEpi4>
.
This allows me to keep all my ts code in one folder (src) and the entire project after compiling in another (dist). Which is great to avoid uploading useless files to git. However, I have now run into the problem that your TypescriptGenerator.ts always uses the baseUrl as a prefix (which messes up all my paths).
The easiest fix for this would be a way to allow users to use the outDir as a prefix instead. A simple boolean during the setup would be enough.
I got the same issue. My typescript is compiled to js and deployed to "outDir".
This allows me to keep all my ts code in one folder (src) and the entire project after compiling in another (dist). Which is great to avoid uploading useless files to git. However, I have now run into the problem that your TypescriptGenerator.ts always uses the baseUrl as a prefix (which messes up all my paths).
The easiest fix for this would be a way to allow users to use the outDir as a prefix instead. A simple boolean during the setup would be enough.
I made a temporary solution which you can find here
In my tsconifg file I have the following lines:
This allows me to keep all my ts code in one folder (src) and the entire project after compiling in another (dist). Which is great to avoid uploading useless files to git. However, I have now run into the problem that your TypescriptGenerator.ts always uses the baseUrl as a prefix (which messes up all my paths).
The easiest fix for this would be a way to allow users to use the outDir as a prefix instead. A simple boolean during the setup would be enough.
The text was updated successfully, but these errors were encountered: