Utilizing Azure CI Pipelines to help build and prepare my artifact for deployment, the minified files seem to be excluded from the prepared artifact.Looking at the build logs I can see the files get minified successfully:
Bundler: Begin processing bundleconfig.json Minified wwwroot/.../script.min.js
The build successfully minifies the files but the artifact is missing them. The files aren't in the wrong directory or anything they are completely missing from the artifact.
Here is the CI Build Step:
- task: VSBuild@1 displayName: Build Solution inputs: solution: '$(solution)' msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(Build.ArtifactStagingDirectory)"' platform: '$(buildPlatform)' configuration: '$(buildConfiguration)'
NuGet used for bundling/minifying: https://github.com/madskristensen/BundlerMinifier
Issue(not raised by me, I did try the "solution" there but it didn't work) on their GitHub here: https://github.com/madskristensen/BundlerMinifier/issues/518