esbuild Linux PowerPC 64-bit Little Endian Binary

0.15.18 · active · verified Tue Apr 21

esbuild is an extremely fast, next-generation JavaScript and CSS bundler and minifier, written in Go. Its primary goal is to achieve significantly faster build times compared to other bundlers by leveraging parallel parsing, printing, and source map generation. The project maintains an active development pace with frequent releases, often including multiple minor or patch versions within weeks. As of its latest stable release, `esbuild` is at version 0.28.0. Key differentiators include its exceptional speed without requiring a cache, built-in support for JavaScript, CSS, TypeScript, and JSX, a straightforward API for CLI, JavaScript, and Go, and comprehensive features like ESM/CommonJS module bundling, tree shaking, minification, and source map generation. This specific package, `esbuild-linux-ppc64le`, provides the pre-compiled native binary for the Linux PowerPC 64-bit Little Endian architecture, which is an optional dependency automatically selected and installed by the main `esbuild` package based on the host system's platform and architecture.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to use esbuild's `build` API to bundle a TypeScript application, including minification, source maps, and environment variable definition.

import { build } from 'esbuild';

const entryPoint = 'src/app.ts';
const outFile = 'dist/bundle.js';

async function bundleApp() {
  try {
    await build({
      entryPoints: [entryPoint],
      bundle: true,
      minify: true,
      sourcemap: true,
      outfile: outFile,
      platform: 'node',
      target: 'es2022',
      // Define environment variables, e.g., for API keys
      define: {
        'process.env.API_KEY': JSON.stringify(process.env.API_KEY ?? 'your-default-api-key'),
      },
      logLevel: 'info',
      // Optional: watch mode for development
      // watch: {
      //   onRebuild(error, result) {
      //     if (error) console.error('watch build failed:', error);
      //     else console.log('watch build succeeded:', result);
      //   },
      // },
    });
    console.log(`Successfully bundled ${entryPoint} to ${outFile}`);
  } catch (e) {
    console.error(`Bundling failed: ${e.message}`);
    process.exit(1);
  }
}

bundleApp();

view raw JSON →