Component Manifest

raw JSON →
1.0.0 verified Sat Apr 25 auth: no javascript abandoned

Component Manifest helps create build manifests for component-based projects. Version 1.0.0 is the latest stable release, last updated in 2014. It unglobs local components and creates file objects compatible with the builder's API. This package is minimal and has no dependencies, but is now considered obsolete and unmaintained. It is specific to an older build system and not suitable for modern development workflows.

error Error: Cannot find module 'component-manifest'
cause The package is not installed or not found in node_modules.
fix
Run 'npm install component-manifest' to install it.
error Unhandled type error: manifest is not a function
cause Importing incorrectly when using TypeScript or ESM wrappers.
fix
Use 'const manifest = require('component-manifest')' if CommonJS is used.
deprecated This package is deprecated and no longer maintained. Use a modern build system like Webpack or Rollup.
fix Migrate to a supported build tool.
npm install component-manifest
yarn add component-manifest
pnpm add component-manifest

Creates a build manifest for given component names.

import manifest from 'component-manifest';

const components = ['component-a', 'component-b'];
const result = manifest(components);
console.log(result);