- Build and copy assets
npm run prepublish
- Change directory to built folder
cd dist/ddap-common-lib/
- Link library
npm link
One-line command: npm run prepublish && npm link ./dist/ddap-common-lib/
.
Don't forget to rerun the steps above when you update library.
Run ng build ddap-common-lib
to build the project. The build artifacts will be stored in the dist/
directory.