How to set up ES module library for the frontend JavaScript
This article will show how to set up an npm library package as an ES module that can be easily used in other packages, with a minimum size impact. Library code I generated the package.json with npm run -y. The only difference was adding "type": "mod...
Aug 29, 20212 min read3.2K

