IcoMoon Build is a command-line interface (CLI) tool designed to automate the generation of SCSS or LESS stylesheets and font files directly from an IcoMoon project file. Its primary purpose is to streamline the workflow for developers who frequently update or add icons, eliminating the need to manually copy icon declarations from IcoMoon's output into their custom stylesheets. The current stable version is 0.2.8, released in August 2016. Due to its specific niche and dependence on the IcoMoon website structure and underlying tools like PhantomJS, its release cadence was historically tied to bug fixes and compatibility updates. It differentiates itself by providing a robust, scriptable solution for integrating custom icon sets into front-end build processes, particularly for projects utilizing Sass or Less.
npm install icomoon-buildVerified import paths — ran on the pinned version, not inferred.
Illustrates how to install `icomoon-build` locally and execute it via `node_modules/.bin` to process an IcoMoon project file. It generates an SCSS stylesheet and font files, and comments explain how to integrate these into a front-end project.
It is strongly recommended to migrate to a modern icon management solution or utilize an actively maintained tool that uses up-to-date and secure dependencies (e.g., based on Playwright or Puppeteer). Avoid using `icomoon-build` in any production environment.
Manually verify the tool's functionality against the current IcoMoon.io website. For reliable icon management, consider actively maintained alternatives or be prepared to manually download and integrate IcoMoon font packages.
Upgrade to `icomoon-build` version 0.1.2 or later, which includes a fix that configures PhantomJS to choose newer, more secure SSL/TLS protocols. If an upgrade is not feasible, manually attempting to specify `--ssl-protocol=any` in the command line might mitigate the issue, though its effectiveness with very old PhantomJS versions may vary.
Ensure `phantomjs` is correctly installed and accessible by the `icomoon-build` tool. If the error persists despite correct installation, it's likely an incompatibility with the current IcoMoon website or an unfixable bug within the abandoned `icomoon-build` project.
This issue was specifically addressed and fixed in `icomoon-build` version 0.2.3. Upgrading to 0.2.3 or a later version should resolve this error.
This issue was addressed in `icomoon-build` version 0.1.1. Upgrading to 0.1.1 or a later version will relax the stdout buffer limit, allowing larger outputs to be processed without error.