whatisgithub

What is esbuild-exports-signature-repro?

yyx990803/esbuild-exports-signature-repro — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2021-01-25

18JavaScriptAudience · developerComplexity · 2/5DormantSetup · easy

In one sentence

A minimal reproduction project showing a bug in how esbuild processes exported function signatures, built by running a script that bundles Preact.

Mindmap

mindmap
  root((repo))
    What it does
      Reproduces esbuild bug
      Bundles Preact
      Shows output file issue
    Tech stack
      JavaScript
      esbuild
      Node.js
    Use cases
      Debug esbuild issue
      Discuss with maintainers
      Compare expected output
    Audience
      esbuild users
      Bundler developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run the build script to reproduce a specific esbuild export-signature bug

USE CASE 2

Inspect the generated dist/node_modules/preact output file to see the issue firsthand

USE CASE 3

Use as evidence when reporting the bug to esbuild maintainers

USE CASE 4

Compare the buggy output against expected behavior to find a workaround

What is it built with?

JavaScriptesbuildNode.js

How does it compare?

yyx990803/esbuild-exports-signature-reprochinaran0/wujing_diccodeteacher330/string-similarity
Stars181818
LanguageJavaScriptJavaScriptJavaScript
Last pushed2021-01-25
MaintenanceDormant
Setup difficultyeasyeasyeasy
Complexity2/52/51/5
Audiencedeveloperops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Just run the build.js script and inspect the generated dist output file.

No license information is available in the explanation.

Copy-paste prompts

Prompt 1
Run build.js in this repo and explain what's wrong with the exported function signatures in the output file.
Prompt 2
Help me understand why esbuild is mishandling exports when bundling Preact, based on this reproduction case.
Prompt 3
Show me how to compare this repo's dist output against the expected esbuild behavior.
Prompt 4
How would I write a bug report to esbuild maintainers using this reproduction case as evidence?

Frequently asked questions

What is esbuild-exports-signature-repro?

A minimal reproduction project showing a bug in how esbuild processes exported function signatures, built by running a script that bundles Preact.

What language is esbuild-exports-signature-repro written in?

Mainly JavaScript. The stack also includes JavaScript, esbuild, Node.js.

Is esbuild-exports-signature-repro actively maintained?

Dormant — no commits in 2+ years (last push 2021-01-25).

What license does esbuild-exports-signature-repro use?

No license information is available in the explanation.

How hard is esbuild-exports-signature-repro to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is esbuild-exports-signature-repro for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.