Neutered Puppy Masquerade

    rox-ssr-multi-entrypoints
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.18 • Public • Published

    A wrapper on top of Rollout.io rox-ssr SDK to support multiple entry points

    Why?

    rox-ssr does not behave well when using multiple webpack entry points. This package aims to solve that issue. Note that none of the code is Webpack specific so this should work with other similar tools.

    This was successfully tested with Next.js.

    Installation

    yarn add rox-ssr-multi-entrypoints
    

    Usage

    Same as rox-ssr but use import from 'rox-ssr-multi-entrypoints' instead of import from 'rox-ssr'

    Caveats

    • Rollout offers 3 types of objects: Configuration, Flag and Variant. Because the DynamicApi does not support Configuration, this package also doesn't support it. Use Flag for boolean values and Variant for anything else.
    • This is not an official CloudBees Rollout SDK.

    License

    MIT

    Install

    npm i rox-ssr-multi-entrypoints

    DownloadsWeekly Downloads

    245

    Version

    0.1.18

    License

    MIT

    Unpacked Size

    28.1 kB

    Total Files

    31

    Last publish

    Collaborators

    • g-guirado