Skip to content

demo repo with minimal setup of and nx-workspace that fails to build a lib with dependency to another lib.

Notifications You must be signed in to change notification settings

strobocopter/nx-build-lib-fails

Repository files navigation

BuildLibFails

In this workspace it is possible to run "ng run framework-utils:build", which will produce a publishable library in the dist-folder.

Running "ng run framework-tracing:build" will run into an error:

  • The tracing library references the utils-library
  • The tsconfig.json points to its sources instead of the build-path

Running "ng run test-frame:build" will succeed, but the angular-app will treat the source-code of both libraries as its own source-code. So the libraries included in this way will not be required as npm-packages.

This project was generated with Angular CLI using Nrwl Nx.

Nrwl Extensions for Angular (Nx)

Nx is an open source toolkit for enterprise Angular applications.

Nx is designed to help you create and build enterprise grade Angular applications. It provides an opinionated approach to application project structure and patterns.

About

demo repo with minimal setup of and nx-workspace that fails to build a lib with dependency to another lib.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published