Socket
Book a DemoInstallSign in
Socket

rox-ssr-multi-entrypoints

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rox-ssr-multi-entrypoints

Rollout.io SDK with support for multiple entrypoints

latest
Source
npmnpm
Version
0.1.18
Version published
Maintainers
1
Created
Source

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

Keywords

feature-flag

FAQs

Package last updated on 02 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts