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, duration hours minute second in high quality that is uploaded to the channel Joshua Morony 04 September 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 2,646 times and liked it 122 visitors.