Registry / devops / build-plugin-speed

build-plugin-speed

JSON →
library1.0.1jsnpmunverified

A build-scripts plugin that logs build time information for ice.js projects. Current stable version is 1.0.1. Released as part of the Alibaba ice framework ecosystem. It is a minimal plugin that outputs build speed metrics to the console during development and production builds. Differentiators: simple integration with ice.js build-scripts, no external dependencies.

npm install build-plugin-speed
INSTALL
IMPORT
SIG · BUILD-PLUGIN-SPEED
B
build-plugin-speed
devopsjavascriptv1.0.1
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–223 runs
install or import failed
glibc
node 18–223 runs
install or import failed
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
✓ import buildPluginSpeed from 'build-plugin-speed'
Default export is the plugin function. Expected to be used in build.config.js or ice.config.mts.
default (require)
✓ const buildPluginSpeed = require('build-plugin-speed')
✗ const buildPluginSpeed = require('build-plugin-speed').default
CJS usage: the package provides a CommonJS entry; no .default needed.
Plugin type
✓ import type { IPlugin } from 'build-scripts'
Type imports should come from build-scripts, not from this plugin.

Shows how to add the build-plugin-speed plugin to an ice.js project's build config.

// ice.config.mts or build.config.js import buildPluginSpeed from 'build-plugin-speed'; export default defineConfig({ plugins: [ buildPluginSpeed() ] });
Debug
Known issues
gotchaPlugin name must be exactly 'build-plugin-speed' in the plugins array; mismatched casing will silently fail.
fix
Ensure the import matches the package name exactly.
affects: >=1.0.0
deprecatedThe package is marked as deprecated; consider using @ice/plugin-speed instead.
fix
Migrate to @ice/plugin-speed following the ice v3 upgrade guide.
affects: >=1.0.0
gotchaPlugin only works with build-scripts v2.x and above; older versions will not load it.
fix
Update build-scripts to version 2.0.0 or higher.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'build-plugin-speed'
Package not installed or incorrectly imported.
fix
Run npm install build-plugin-speed --save-dev and ensure the import path is correct.
TypeError: buildPluginSpeed is not a function
Using default import but package exports an object instead of a function.
fix
Ensure the default export is invoked as buildPluginSpeed() in the plugins array.
Plugin 'build-plugin-speed' does not exist or is invalid
Plugin name mismatch or wrong format in plugins array.
fix
Use the exact package name 'build-plugin-speed' (string) or the imported function.
Upgrade
Version history
1.0.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Resources
build-plugin-speed — npm install build-plugin-speed · libregistry