Skip to content

TFS or VSTS build configuration for prod build #1

Description

@cvbc2010

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions