-
Notifications
You must be signed in to change notification settings - Fork 12.8k
tsconfig "outDir" functionality #7346
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
Comments
use |
need to add this to the FAQ page. |
I don't understand. Putting that setting in will perpetuate the sub level folders?
|
from my reply in #6435 (comment)
|
Ok that worked. Now what about the deletion of files? If I delete something from my rootDir, it will not subsequently delete it from my outDir. Do I need to create a gulp task for this? |
the compiler does not delete anything. so i would suggest that your clean task would blow away your output directory, this way you can always go back to a clean state. |
So I currently have my project setup exactly the way it is setup in this tutorial
[https://github.com/Microsoft/TypeScript/wiki/Using-TypeScript-With-ASP.NET-5]
however in my scripts folder I now want to put another level so it would look like
scripts
----app
--------foo.ts
and have it ultimately export out to my wwwroot directory like this
wwwroot
----app
---------foo.js
however I'm finding that all scripts regardless of directory structure end up sitting at the top of the wwwroot directory. Meaning that the outDir: "../wwwroot" does not take folder structure into account.
In addition I have noticed that when I delete typescript files it doesn't delete the same javascript files within my transpiled folder.
Are these known issues or am I doing something wrong?
The text was updated successfully, but these errors were encountered: