{"library":"oc-template-react-compiler","title":"OpenComponents React Template Compiler","description":"Compiler for the React template in the OpenComponents (oc) ecosystem. Version 11.0.0 provides a Webpack-based build pipeline to transform React components into deployable OC packages. Primarily used internally by the oc-registry build process. It compiles JSX, handles asset bundling, and produces server-side renderable bundles. Releases follow the OpenComponents monorepo cadence. Differs from other React build tools by being tightly coupled to the OC registry workflow.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install oc-template-react-compiler"],"cli":null},"imports":["import { Compiler } from 'oc-template-react-compiler'","import { compile } from 'oc-template-react-compiler'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { Compiler } from 'oc-template-react-compiler';\nconst compiler = new Compiler({\n  component: { name: 'MyComponent', version: '1.0.0' },\n  path: './src',\n  oc: {registries: {}}\n});\ncompiler.compile().then(result => console.log(result));","lang":"typescript","description":"Creates a compiler instance for a React component and runs the build.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}