Skip to content

Proposal: Expose raw features dataset in the published npm package #134

Closed

Description

@swwind

We are working on integrating baseline-browser-mapping into browserslist-rs (a Rust port of Browserslist). We want to use baseline-browser-mapping to rebuild our static baseline databases at compile time. browserslist/browserslist-rs#45, browserslist/browserslist-rs#46

However, the published package does not provide enough information for us to rebuild the package's cumulative feature change points. Although the raw feature support list and mapping datasets are bundled inside the compiled output ( dist/index.cjs ), they are not exported, making them extremely hard to extract cleanly without relying on brittle regex matching and evaling internal minified variables.

Therefore, we think it would be better to provide a stable, public way to access the raw datasets.

We hope that raw data can be splited into separate chunks, make it available for external packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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