Dear all does anybody k…

less than 1 minute read

Dear all, does anybody know if there is a way to import a nx project library such as @my-project/my-first-library inside another library that is going to be build and packed alone with "@angular-devkit/build-webpack:webpack" ? I’m getting this: ```> ng build “my-second-library”

[…other stuff…]

class MyService extends !(function webpackMissingModule() { var e = new Error(“Cannot find module ‘@my-project/my-first-library’”); e.code = ‘MODULE_NOT_FOUND’; throw e; }()) { | constructor(token) { | super();```


Is the new library aware of the paths that are defined in the top-level tsconfig?

Basicallly, does the new library’s tsconfig extend the top-level tsconfig?

yes it does