186 Commits

Author SHA1 Message Date
Evan Wallace
610d49bc96 fix #1152: add the "--allow-overwrite" flag 2021-04-22 14:01:20 -07:00
Evan Wallace
e75f4ea782 add tests for deno (#1150) 2021-04-14 04:27:01 -07:00
Evan Wallace
d4a7cd31db Experimental support for Deno (#1145) 2021-04-13 02:38:00 -07:00
Evan Wallace
58b24ed9ff support async plugin "setup" (#111) 2021-04-03 00:42:58 -07:00
Evan Wallace
274d347341 use named arguments for "build" and "serve" 2021-04-03 00:14:06 -07:00
Evan Wallace
09752ec0d8 use named arguments for "transform" 2021-04-03 00:10:42 -07:00
Evan Wallace
4ba5712515 use named arguments for "formatMessages" 2021-04-03 00:05:57 -07:00
Evan Wallace
a9e8d50fee pull out service members into locals 2021-04-02 23:57:47 -07:00
Evan Wallace
9c4979fc63 add a "debug" log level 2021-04-01 20:50:31 -07:00
Evan Wallace
225d6ef83f implement custom output paths for entry points 2021-03-28 19:34:49 -07:00
Evan Wallace
928189e6bf fix "ESBUILD_WORKER_THREADS" difference 2021-03-25 14:57:30 -07:00
Evan Wallace
5cf85d5aef fix #1058: add the "formatMessages" api 2021-03-25 14:57:28 -07:00
Evan Wallace
fc325d0996 add "suggestion" to log message location 2021-03-25 14:43:41 -07:00
Evan Wallace
5832816c38 fix #1057: pass "metafile" to "onRebuild" 2021-03-25 11:54:53 -07:00
Justin Ridgewell
94846a1ab7 Avoid a buffer copy when decoding utf-8 in node 10 (#1054) 2021-03-25 01:22:23 -07:00
Evan Wallace
0f3f7d0dd6 add "watchFiles" and "watchDirs" 2021-03-25 01:20:32 -07:00
Justin Ridgewell
d57cb4640a Add Source Map sourceRoot Support (#1028) 2021-03-24 23:49:25 -07:00
Evan Wallace
3da3361e5d fix #803: add support for android arm64 2021-03-24 13:02:24 -07:00
Evan Wallace
e249c17486 fix #1039: lazily capture plugin register traces 2021-03-23 14:28:45 -07:00
Evan Wallace
d790be41a9 fix #373: expose build options to plugins 2021-03-20 13:20:53 -07:00
Evan Wallace
e5127cb19d re-enable the "worker_threads" sync workaround (#1021) 2021-03-20 10:44:17 -07:00
Evan Wallace
412d3dad7c fix stack parsing to skip internal "node:" lines 2021-03-19 23:12:05 -07:00
Evan Wallace
4281d80d19 fix #979: call "initialize" in node to warm up 2021-03-18 22:21:58 -07:00
Evan Wallace
53af085806 attempt to fix pnpm hard link issues (#970) 2021-03-18 21:32:39 -07:00
Evan Wallace
356ea17db8 enable hashes in entry file paths (#1001) 2021-03-18 21:30:57 -07:00
Justin Ridgewell
dad0925102 Avoid stdout buffer allocation (#967) 2021-03-13 13:11:09 -08:00
Justin Ridgewell
d8f281e5b1 Bound stdout shifting to prevent excessive allocations (#941)
I noticed this when using an incremental rebuild. In my project, the `stdout` can grow to 100mb+ during the initial build. During rebuild, the `stdout` is mostly empty. But the old code used an unbounded `slice`, which allocated almost the full 100mb.
2021-03-10 01:04:47 -08:00
Evan Wallace
2391c3171e have the js API write to stdout by default 2021-03-08 20:51:30 -08:00
Evan Wallace
7d30f836e3 rename "error limit" to "log limit" 2021-03-08 20:51:30 -08:00
Evan Wallace
e0f73123d6 remove "metafile" from "outputFiles" 2021-03-08 20:51:30 -08:00
Evan Wallace
1a458e0bf5 implement custom conditions for "exports" 2021-03-08 20:51:30 -08:00
Evan Wallace
9ad8ebb0ae make banner and footer also work for css 2021-03-08 20:51:30 -08:00
Evan Wallace
d0dde63a8a fix typescript type error 2021-03-08 20:51:30 -08:00
Evan Wallace
4152ef5564 enforce that "transform" input is a string 2021-03-08 20:51:30 -08:00
Evan Wallace
0c9379f988 types: consolidate the "ImportKind" type 2021-03-08 20:51:30 -08:00
Evan Wallace
004977e2f9 remove the "startService" API 2021-03-08 20:51:30 -08:00
Evan Wallace
b5c5f0a9fe remove "--summary", always print summary instead 2021-03-08 20:51:30 -08:00
Evan Wallace
74bce2db64 remove the deprecated "avoid TDZ" option 2021-03-08 20:51:30 -08:00
Evan Wallace
d0827f4a03 plugins: support error locations in constructors 2021-03-08 16:38:54 -08:00
Evan Wallace
3c70e4b491 plugins: do not truncate stack traces 2021-03-08 15:58:32 -08:00
Evan Wallace
eb414dbc72 support data url imports in js and css 2021-03-06 22:20:19 -08:00
Evan Wallace
ea3242a208 fix #914: work around jest breaking node buffers 2021-03-04 15:24:54 -08:00
Evan Wallace
899414ec00 fix #888: add path templates for chunks and assets 2021-02-26 15:48:54 -08:00
Evan Wallace
ade5cd5550 "ESBUILD_BIN_PATH" => "ESBUILD_BINARY_PATH" 2021-02-24 20:21:12 -08:00
Sushain Cherivirala
f88eec14bc Add ESBUILD_BIN_PATH (#881) 2021-02-24 20:14:05 -08:00
Evan Wallace
aa64f5c8ed make the typescript compiler happy 2021-02-24 15:48:43 -08:00
Evan Wallace
cab83db94b fix #879: provide "kind" to "onResolve" plugins 2021-02-24 15:43:36 -08:00
Tommaso De Rossi
b6f8b82d68 entryPoint information in metafile (#811) 2021-02-23 00:01:29 -08:00
Ryan Tsao
6a4af081bb Add native builds for ARM-based Macs (#820) 2021-02-17 16:32:23 -08:00
Evan Wallace
ad39a2970f fix #796: add the "--servedir=" flag 2021-02-13 00:42:01 -08:00