ossos icon indicating copy to clipboard operation
ossos copied to clipboard

Library build commands don't create `ossos.cjs.js`, must manually rename.

Open ArsenicBismuth opened this issue 1 year ago • 1 comments

The build commands I use are:

npm run build
npm run build:types

But this creates the following files inside ./dist

image

So I have to either rename the ossos.js manually into ossos.cjs.js or replace every mention of ossos.cjs.js into ossos.js inside package.json. After this step, I can successfully include them in my node project.

Below is the patch. Let me know if I do anything wrong, thank you. 801a3c.patch

ArsenicBismuth avatar Aug 20 '23 23:08 ArsenicBismuth

I can help here, I have lots of experience with packaging.

trusktr avatar Apr 25 '24 00:04 trusktr