Ember-CLI addon that integrates esbuild for JavaScript minification in production builds. Current stable version is 6.1.0 (July 2024), with active development releasing new versions weekly or monthly. Replaces ember-cli-terser or ember-cli-uglify with faster minification using esbuild. Supports configurable options including exclusion patterns, source maps (linked, external, inline, both), and esbuild target specification. Does not support ES5 target. Communicates via ESBuild's workerpool.
npm install ember-cli-esbuild-minifierNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures esbuild minification for production builds, excluding vendor.js, targeting ES2020, and generating external source maps.
Use 'target' option with a minimum of ES2015. For ES5 support, continue using ember-cli-terser.
Use the correct config key in ember-cli-build.js: new EmberApp({ 'ember-cli-esbuild': { ... } })Run npm uninstall ember-cli-terser ember-cli-uglify before installing this addon.
Add sourcemaps config: new EmberApp({ sourcemaps: { enabled: true, extensions: ['js'] } })Set sourceMap: false instead of sourceMap: 'none'.
Install as '@nullvoxpopuli/ember-cli-esbuild' and configure in ember-cli-build.js under 'ember-cli-esbuild' key.
Ensure ember-cli-build.js ends with module.exports = app.toTree();
Set target to at least 'es2022' or a modern browser that supports top-level await.