Skip to content

split off compiler as dev dependencies #3559

Closed
@bobzhang

Description

@bobzhang

Relevant issues:
Allowing compiled code delivery
Make bsb able to compile all third-party artifacts into the top-level lib
bs-json: Consider having the compiled JS in the package?
Separated npm package for bucklescript dependencies
Proposal to add bs-stdlib

Some high level issues to solve:

  • Should we prebuild stdlib
    It seems so, otherwise *.js files is not in distribution.
    Pre-build-cons:
    We need make sure that .cm[ji] is the same across all platforms,
    more logistics when bump minor version of compiler
    Pre-build-pros
    No need make bsb capable of building stdlib
  • How to ensure
    bs-platform-dev is consistent with the version of bs-platform
    It seems that we can add a version field check, and
    bsb always do such check in the beginning

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