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
Watch video The easiest way to publish an npm package? (2024) online without registration, duration hours minute second in high quality. This video was added by user Joshua Morony 04 September 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,646 once and liked it 122 people.