microsoft/nodejstools

Request for Environment support during AfterCompile

astra137 opened this issue · 0 comments

Are there plans to support the Environment property while the default AfterCompile target runs?

Our project started with the Vue typescript template. It's possible right now to make multiple properties manually in the XML for each configuration, but any process.env.VUE_APP_VALUEs are only available when debugging. If the project is only built, they are absent from the build artifact. is automatically upgraded by Visual Studio to when reloading the project. Our team is using env-cmd and a custom start script and AfterCompile target for now.

I am not familiar with msbuild to begin with, so this could a simple mistake!