Request for Environment support during AfterCompile
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- node.js, typescript
- Domain
- build-system, tooling
Research direction
Start by reviewing the default AfterCompile target and how Environment and EnvironmentVariables are handled in the project XML. Reproduce the Vue TypeScript template case, comparing debugging with a project-only build; done means process.env.VUE_APP_VALUE values are present in the build artifact.
Written by the indexing model from the issue text.
Description
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!
- Dominant language
- C#
- Stars
- 1.8k
- Forks
- 355
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/nodejstools
-
microsoft/nodejstools#2523 · 1 reaction · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
microsoft/nodejstools#2519 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
microsoft/nodejstools#2517 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
microsoft/nodejstools#2514 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
microsoft/nodejstools#2513 · 5 comments ·
All issues in microsoft/nodejstools
Similar issues
-
priority-0
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
StackExchange/StackExchange.Redis#3249 ·
-
[Feat] 조합 영역 구분선 개선 Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100