My Angular course: https://angularstart.com/
We take a look at using Nx to create a package that can easily be compiled to both CommonJS (CJS) and ECMAScript Modules (ESM) format, and then publishing that package to npm.
Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076
Want to build mobile apps with Angular?: https://ionicstart.com
0:00 Introduction
0:28 Creating a package with Nx
1:19 Adding dependencies
1:30 Supporting ESM and CJS
1:52 Add package details
2:17 Publishing
#npm #nx #angular
More tutorials: https://modernangular.com
Follow me on Twitter: / joshuamorony