A Node.js-based module bundler for KISSY framework, supporting KISSY 1.2+. Current stable version 1.2.2 (last release). It provides config API similar to KISSY's browser-side config, supports mixed encoding (e.g., GBK output), automatic combo for KISSY 1.3, dependency analysis, and regex-based module name mapping. Alternatives include the official Java-based KISSY build tool and grunt-kmc. Release cadence is low; no updates since 2015.
npm install kmcNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic configuration and build process for bundling a KISSY module using absolute paths.
Use path.resolve(__dirname, 'relative/path') to convert to absolute paths.
Use a Node version manager (e.g., nvm) with Node 10 or lower, or consider alternative bundlers like Webpack.
Use kmc.clean() before calling kmc.config() with new settings.
Set suffix: '.combine' (including the dot).
Run 'npm install kmc' and use 'const kmc = require('kmc');'Use absolute paths for src and dest in kmc.build().
Use 'const kmc = require('kmc');' and ensure version >=1.0.0.No dependency data recorded yet.