{"full_name":"evanw/esbuild","owner":"evanw","name":"esbuild","url":"https://github.com/evanw/esbuild","description":"An extremely fast bundler for the web","homepage":"https://esbuild.github.io/","topics":[],"language":"Go","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/406394?u=311ddafa2f676e0b821384e18b05f0f4e08bcacc&v=4","created_at":"2016-06-14T16:08:50Z","pushed_at":"2026-08-09T17:20:12Z","metrics":{"stars":40124,"forks":1371,"watchers":263,"issues":3951,"prs":562,"releases":315,"issues_open":null,"issues_closed":null,"prs_open":null,"prs_closed":null,"prs_merged":null,"discussions":0},"growth":{"day":{"stars":0,"forks":-1,"base_day":"2026-11-09"},"week":{"stars":2,"forks":4,"base_day":"2026-11-03"},"month":{"stars":55,"forks":17,"base_day":"2026-10-11"}},"history":{"dates":["2026-09-06","2026-09-07","2026-09-08","2026-09-09","2026-09-10","2026-09-11","2026-09-12","2026-09-13","2026-09-14","2026-09-15","2026-09-16","2026-09-17","2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-09","2026-11-10"],"stars":[40036,40040,40046,40045,40048,40049,40050,40053,40053,40058,40063,40059,40059,40060,40063,40064,40068,40067,40068,40069,40069,40069,40071,40071,40072,40070,40071,40070,40071,40071,40074,40073,40071,40072,40064,40069,40070,40069,40077,40082,40089,40092,40095,40098,40098,40099,40099,40105,40105,40107,40108,40109,40111,40115,40117,40119,40121,40118,40122,40120,40124,40124],"forks":[1342,1341,1341,1341,1342,1343,1343,1343,1344,1345,1346,1345,1345,1346,1346,1346,1345,1345,1345,1345,1345,1346,1347,1348,1350,1350,1350,1351,1351,1351,1352,1352,1352,1352,1355,1354,1354,1354,1357,1357,1360,1361,1361,1361,1364,1367,1369,1365,1365,1365,1364,1365,1365,1365,1365,1366,1367,1367,1367,1368,1372,1371],"watchers":[269,270,270,270,270,270,270,270,270,270,270,270,270,270,270,270,270,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,269,264,264,264,264,264,264,264,264,264,264,263,263,263],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]},"boards":{},"same_owner":[],"issues":[{"number":1921,"title":"How to fix \"Dynamic require of \"os\" is not supported\"","comments":82,"created_at":"2022-01-07T14:11:08Z"},{"number":16,"title":"[Feature] Code splitting on async import() statements.","comments":70,"created_at":"2020-02-17T16:40:33Z"},{"number":312,"title":"WebWorker support?","comments":57,"created_at":"2020-08-03T16:11:57Z"},{"number":475,"title":"Useless repeated imports when using external modules","comments":44,"created_at":"2020-10-20T10:32:13Z"},{"number":795,"title":"URL assets bundling","comments":38,"created_at":"2021-02-12T10:00:02Z"},{"number":253,"title":"support for top level await","comments":32,"created_at":"2020-07-12T20:21:47Z"},{"number":399,"title":"Incorrect import order with code splitting and multiple entry points","comments":30,"created_at":"2020-09-20T18:30:58Z"},{"number":3384,"title":"How to use esbuild with css import assertions/attributes","comments":29,"created_at":"2023-09-13T15:52:28Z"}],"discussions":[],"latest_release":{"name":"v0.28.2","tag":"v0.28.2","published_at":"2026-08-08T19:58:58Z","body":"* Fix tree shaking bug due to TypeScript import alias ([#4507](https://github.com/evanw/esbuild/issues/4507))\r\n\r\n    This release fixes a bug that could cause esbuild to incorrectly tree-shake imports that are used in a TypeScript type alias under certain circumstances. Affected code uses a TypeScript-specific `import` assignment and looks something like this:\r\n\r\n    ```ts\r\n    import Base from './dep.js';\r\n    import Alias = Base.SomeType;\r\n    ```\r\n\r\n* Fix CSS minification bug involving `&` ([#4497](https://github.com/evanw/esbuild/issues/4497))\r\n\r\n    This release fixes a bug where esbuild's CSS minifier incorrectly removed a `&` when it was unsafe to do so. Here is an example:\r\n\r\n    ```css\r\n    /* Original code */\r\n    .a .b {\r\n      & .b:not(& .c) {\r\n        color: red;\r\n      }\r\n    }\r\n\r\n    /* Old output (with --minify) */\r\n    .a .b{.b:not(& .c){color:red}}\r\n\r\n    /* New output (with --minify) */\r\n    .a .b{& .b:not(& .c){color:red}}\r\n    ```\r\n\r\n    This should match `<span class=\"a\"><span class=\"b\"><span class=\"b\">yes</span></span></span>` but not `<span class=\"a\"><span class=\"b\">no</span></span>`. The old output incorrectly matched both.\r\n\r\n* Avoid overwriting input files without `--allow-overwrite` ([#4484](https://github.com/evanw/esbuild/issues/4484))\r\n\r\n    For example: `esbuild input.js --outfile=input.js` tells esbuild to overwrite `input.js` with the output of running esbuild on it. This was supposed to already be prevented by default, but it accidentally regressed in version 0.17.0 and apparently didn't have any test coverage. The error message was being printed but the input file was still being overwritten. Oops.\r\n\r\n    This release puts the original behavior back. With this release, esbuild should now actually avoid overwriting input files unless `--allow-overwrite` is explicitly present. This is done by not writing out any files when a build error is encountered.\r\n\r\n* Fix incorrect code generated when using top-level await ([#4498](https://github.com/evanw/esbuild/issues/4498))\r\n\r\n    Previously esbuild could generate code containing a syntax error in complex scenarios involving top-level await used in a dependency cycle. The problem was a missing `async` on one or more module wrapper closures. With this release, esbuild now uses a fixed-point iteration algorithm to correctly annotate all dependencies in the cycle as needing an `async` module wrapper.\r\n\r\n* Fix a minification bug with lowered logical assignment operators ([#4508](https://github.com/evanw/esbuild/issues/4508))\r\n\r\n    This release fixes a bug that could cause esbuild to generate incorrect code for logical assignment operators when lowering them to an older target environment. Specifically the lowering process requires duplicating the left-hand side, but esbuild incorrectly failed to count the duplicate as a new usage when the left-hand side is an identifier. That then caused the minifier to believe that the left-hand side was only used once and could attempt to incorrectly inline an initializer into the first usage. This bug has now been fixed:\r\n\r\n    ```js\r\n    // Original code\r\n    function foo() {\r\n      let x\r\n      bar(x ||= {})\r\n    }\r\n\r\n    // Old output (with --minify-syntax --target=es6)\r\n    function foo() {\r\n      bar(void 0 || (x = {}));\r\n    }\r\n\r\n    // New output (with --minify-syntax --target=es6)\r\n    function foo() {\r\n      let x;\r\n      bar(x || (x = {}));\r\n    }\r\n    ```\r\n\r\n* Fix a potential deadlock when the JavaScript API is used incorrectly ([#4503](https://github.com/evanw/esbuild/issues/4503), [#4506](https://github.com/evanw/esbuild/pull/4506))\r\n\r\n    The JavaScript API runs the native esbuild executable as a long-lived child process and communicates with it over stdin/stdout/stderr. Each API request is asynchronous and the executable stays open as long as it has work to do, which is as long as either stdin is still open (meaning there may be more API requests) or there are currently requests being processed.\r\n\r\n   "},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-10T09:35:25Z","history_start":"2026-09-06"}