yall.js icon indicating copy to clipboard operation
yall.js copied to clipboard

Replaces yall.mjs to yall.js

Open lamungu opened this issue 2 years ago • 0 comments

Resolves https://github.com/malchata/yall.js/issues/97

The npm package exports looks up for ./dist/yall.mjs, however that file does not exist in the library. Workarounds are made from the end-user by adding a renaming command such as this one:

"postinstall": "sed -i 's#./dist/yall.mjs#./dist/yall.js#' node_modules/yall-js/package.json"

This PR aims at removing the burden from the end-user in renaming the file to the correct export.

lamungu avatar Jun 22 '23 13:06 lamungu