Head over to the [https://codesandbox.io/s/export-a-component-to-vanilla-project-m7o6er](https://codesandbox.io/s/export-a-component-to-vanilla-project-m7o6er)
The provided sandbox has a react project preconfigured to-
- Have required `reactivesearch` lib dependency
- Generate a single bundle file with styles included
- setup to render the facet by pasting the complete code(copied in step 5) in a file named `Facet.js` under `src` folder.