webpack inside it. I additionally use
azure pipeline yaml in my mission.
On azure, I’ve
construct variables which implies that variables are created on azure. In there, I’ve:
- script: | npm run manufacturing situation: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/staging')) env: some_var: 'manufacturing' displayName: 'Construct And Check Staging'
in my webpack, output listing is
dist folder. Now what I want is I want so as to add the identical script as above in my similar pipeline, however have
some_var totally different. So it implies that once I uplaod my mission, it builds the mission two instances with totally different variables. The issue this causes is that each of them will find yourself having
dist folder and the final one which runs will override it.
I want to inform azure pipeline yaml the place to place
dist folder for every
script. I do not wish to contact my webpack config(I understand how that would make it doable). Is there one thing I can put for every
script part to specify the place to place
distfolder? and Observe: If it is doable, I need it to create that listing too . So having 2 scripts would give me these:
I would simply use these in my
publishartifacts process after that.