Very simple project used to test Yalc
In the folder packages/lib:
-
cd packages/lib -
npm install -
npm run build -
npm run type-declaration
You can check that the result is in the repositry packages/lib/dist with the following files:
-
index.d.ts -
lib.es.js -
lib.umd.js