Skip to content

Separated npm package for bucklescript dependencies #2769

Closed
@snird

Description

@snird

I currently have an issue with npm install the bs-platform package in my production environment.
That is the the issue with the make error:

Error: Command failed: make world && make install
    at checkExecSyncError (child_process.js:601:13)
    at Object.execSync (child_process.js:641:13)

Which made me think, why do I need the compiler and the entire platform on my production environment?
I just need the js files that are dependencies for the compiled code.

I think it is a reasonable suggestion, to divide the packages.
So that for process that precompiles the code, we can have in dependencies just the js libraries, and in dev-dependencies have the compiler itself.
I don't know if my use case is wide enough, and couldn't find common examples for compilers that add their own js libraries as for what those are doing..

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