Skip to content

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

License

Notifications You must be signed in to change notification settings

g-guirado/rox-ssr-multi-entrypoints

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •