Skip to content

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

@ArsenicBismuth

Description

@ArsenicBismuth

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions