{"library":"component-build","type":"library","category":null,"description":"component-build is a JavaScript package from the \"component\" ecosystem designed to bundle client-side web assets (scripts, styles, files) for browser deployment. Released around 2014, its stable version is 1.2.2. It acts as a wrapper around `component-builder2` and integrates with `component-resolver` to manage dependencies. Key features include transpilation of ES6 modules in source code, JSON parsing, template handling (as strings), automatic CSS autoprefixing, and URL rewriting for styles. For JavaScript, it supports optional UMD wrapping and autorequires the bundle entry point. The package primarily uses a callback-based API for its build processes. While it provided a structured way to build client-side applications within the 'component' framework, the 'component' package manager and its associated tools are largely obsolete, making `component-build` suitable mainly for maintaining legacy projects built within that specific ecosystem rather than new development. Its release cadence is effectively abandoned.","language":"javascript","status":"abandoned","version":"1.2.2","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install component-build","imports":["const Build = require('component-build');","build.scripts(function (err, string) { /* ... */ });","Build.scriptPlugins = function (build, options) { /* ... */ };"]},{"cmd":"yarn add component-build","imports":[]},{"cmd":"pnpm add component-build","imports":[]}],"homepage":null,"github":"https://github.com/component/build.js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/component-build","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/component-build/compatibility"}}