{"library":"oc-statics-compiler","title":"oc-statics-compiler","description":"OC-Statics-Compiler is a generic module for processing static assets in OpenComponents templates. Current version 3.0.1 ships TypeScript types and is intended for use with the OpenComponents ecosystem. Release cadence is low; maintained primarily by the OpenComponents team. Differentiators are its tight integration with the OC registry and its statics processing pipeline. Not intended for standalone use outside of OC-based projects.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install oc-statics-compiler"],"cli":null},"imports":["import ocStaticsCompiler from 'oc-statics-compiler'","import { processStatics } from 'oc-statics-compiler'","import type { StaticsConfig } from 'oc-statics-compiler'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import ocStaticsCompiler from 'oc-statics-compiler';\n\nconst result = ocStaticsCompiler.process({\n  componentName: 'my-component',\n  version: '1.0.0',\n  statics: ['style.css', 'script.js']\n});\n\nconsole.log(result);\n// Output: processed statics object with resolved paths","lang":"typescript","description":"Shows how to import the default export and use process() to compile static asset paths.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}