18 - Deploying An Nx Monorepo
The AngularCLI only generates bundles. This means that we cannot build the lib itself. We can only do it by building an app that depends on it.
And then run
In this section, we will run some analysis tools to inspect the size of our application.
Install the webpack-bundle-analyzer
Once installed add the following entry to the npm scripts in the package.json:
package.json
Rebuild with --stats-json
Run the following command
Run the Nx dep graph tool
Last updated