the Angular CLI tool makes building distribution packages for Angular 2 spas a snap. The resulting dist package is versioned, compressed, minimized.
However, is this a problem for Octopus Deploy? I’ve tried to make a step that sets the backend api url; i think i’m running into a couple of problems though:
a) the string substitution wants a file name in which to look for the variables to be expanded; however, the cli renames file on the fly to prevent caching problems on re-distribution.
b) for grins, i made a distribution package and set the file to be examined to be the temp name that the cli assigned… ‘main.831e0cff932942b94962.bundle.js’; however, the cli also compresses all the bundles, so the variable has already been squirreled away into a .gz file
Do you have any suggestions on how to work these issues?
thanks in advance