dotnet-template-angular icon indicating copy to clipboard operation
dotnet-template-angular copied to clipboard

TFS or VSTS build configuration for prod build

Open cvbc2010 opened this issue 6 years ago • 0 comments

i am trying to setup build for this solution (azure ad oidc). i am facing an issue where the dist folder is not getting created on build server. Do we have any specific command for prod build. i tried "build:ssr": "npm run build -- --app=ssr --output-hashing=media". But i am getting an error Unknown option: '--app'. i even tried ng build --extract-css. This created the below files.

chunk {main} main.js, main.js.map (main) 51.7 kB [initial] [rendered] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 349 kB [initial] [rendered] chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered] chunk {styles} styles.css, styles.css.map (styles) 201 kB [initial] [rendered] chunk {vendor} vendor.js, vendor.js.map (vendor) 6.69 MB [initial] [rendered]

Will this be okay to perform server side rendering or am i missing anything. as Lighthouse shows 5% performance.

cvbc2010 avatar Jun 05 '18 15:06 cvbc2010