dave caruso
c2cf528953
bundler: Add --ignore-dce-annotations, and other DCE annotation related stuff ( #12808 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-08-01 15:00:38 -07:00
Ivan Baksheev
20235a0d22
Add packages option to remove all dependencies from bundle ( #12562 )
2024-07-14 15:20:27 -07:00
dave caruso
e58cf69f94
feat(bundler): Add --sourcemap=linked for //# sourceMappingURL comments ( #11983 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-20 13:46:49 -07:00
Meghan Denny
5caca9cd48
add .bytes() method to various readables ( #11104 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-05-16 19:10:50 -07:00
Eric L. Goldstein
d1eb35dd5d
Update documentation for the [dir] option when customizing bundler naming ( #10804 )
2024-05-03 19:14:25 -07:00
Jarred Sumner
9eab12f7b8
Support cross-compilation in bun build --compile ( #10477 )
2024-04-25 15:34:40 -07:00
Jarred Sumner
024c274a3d
Support type import attribute with "text", "json", "toml", and "file" ( #10456 )
...
* Fixes #3449
Fixes https://github.com/oven-sh/bun/issues/10206
Fixes https://github.com/oven-sh/bun/issues/5710
* Apply formatting changes
* Update loaders.md
* Update text-loader-fixture-import.ts
* Add guide
* Update bundler_loader.test.ts
* Address comment
---------
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-23 15:35:34 -07:00
Arnaud Thomas D
d0a4fd5e80
docs: fix invalid links to other pages ( #10404 )
2024-04-20 16:13:31 -07:00
Eric L. Goldstein
0bd7265e8f
Remove documentation references to environment variable inlining because the bundler does not do so ( #9901 )
2024-04-03 18:14:20 -07:00
dave caruso
c177e054f5
feat!: shell will now throw on error by default ( #9720 )
...
* make the shell throw by default
* make shell default to throws(true)
* ok
* mv tests
* a
* a
* [autofix.ci] apply automated fixes
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-31 16:13:59 -07:00
HT
0eb638c899
Update executables.md ( #9593 )
...
Bun build with `--compile` flag supports `--external` flag. Tested on bun `1.0.33` and it works
2024-03-24 11:15:19 -07:00
Paul Eboselume
650dc552d4
fixed typo ( #9535 )
2024-03-20 20:04:05 -07:00
Jarred Sumner
517aaad549
Update executables.md
2024-02-25 23:59:34 -08:00
Jarred Sumner
6e54787d4a
Update executables.md
2024-02-25 23:51:36 -08:00
Jarred Sumner
dbb490f3bd
Update executables.md
2024-02-25 23:47:49 -08:00
Jarred Sumner
e2ee5642e0
Update executables.md
2024-02-25 23:45:52 -08:00
Dale Seo
f88855da4f
docs: non-null assertion is needed on document.getElementById ( #8540 )
2024-02-11 20:10:17 -08:00
Dale Seo
dbfc62e288
docs: include .jsx ( #8542 )
2024-01-28 10:00:54 -08:00
Jarred Sumner
ce2ef65122
Small docs tweaks for shell
2024-01-19 19:55:26 -08:00
Jarred Sumner
e5421c56b1
feat: Support import db from './my.db' with {type: "sqlite"} ( #8178 )
...
* Support SQLite imports
* Docs
* Update executables.md
* Update loaders.md
* Update js_parser.zig
* Update loaders.md
* Update CMakeLists.txt
* Update Module.ts
* JSC got rid of `$trunc`?
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-01-15 17:56:02 -08:00
guest271314
a774f92757
Fix using two const result=... in same script ( #8013 )
...
const result = await ...
for (const result of result.outputs) {...
throws
const result = await Bun.build({
^
ReferenceError: Cannot access uninitialized variable.
2024-01-05 22:26:33 -08:00
Jeroen
b6cadf387b
docs(bundler): update CLI command in index.md for bun build with publicPath ( #7916 )
...
* docs(bundler): update CLI command in index.md for bun build with publicPath
* Update docs/bundler/index.md
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-12-29 15:26:35 -08:00
Supachai Kheawjuy
db60c92e25
docs(bundler): remove unused callout tag in index.md ( #7742 )
2023-12-19 10:20:14 -08:00
Andrew Shoener
dc0736d61d
Clarify dead code elimination ( #7639 )
2023-12-13 17:31:50 -08:00
cdfzo
346e27083f
Fix typo in bundler docs ( #7085 )
2023-11-13 02:43:13 -08:00
Luna
c50be68790
chore: add missing ending quote ( #6436 )
2023-10-12 01:00:27 -07:00
Imamuzzaki Abu Salam
0502c134e8
docs: add await to all Bun.build() call ( #5885 )
2023-09-21 19:08:57 -07:00
Colin McDonnell
4fce34854b
Doc updates ( #5759 )
...
* WIP
* WIP
2023-09-19 16:31:38 -07:00
Colin McDonnell
c99caccdb2
More docs & helptext cleanup ( #5229 )
...
* wip
* Flesh out resolution docs
* Polish
* More
* WIP
* WIP
* WIP
* Document --watch
2023-09-13 20:43:39 -07:00
Samuel Rigaud
263382103f
docs: fix typos ( #5151 )
2023-09-12 18:50:05 -07:00
Colin McDonnell
5424ea3403
Doc updates for v1.0 ( #4485 )
...
* Remove v0.x messages
* Add windows section to Installatino
* update
* update
* Update
* Comment out windows
2023-09-07 10:09:09 -07:00
dave caruso
57a06745a4
Progress for Next.js ( #4468 )
...
* L
* ipc
* asdfghjkl
* dfghjk
* it works!
* types
* patches for next.js
* sdfghj
* wsdfgn,./
* this
* yolo
* okay loser
* asdfghjk
* add some more APIs
* MESS
* sdfghjkl
* remove native events from streams
* stuff
* remove lazy(primordials) test
* debugging
* okay
* less fake extensions object
* fix `Buffer.toString()` args logic
* fix deserialize
* make tests work
* add test for `Buffer.toString` args
* Update server.zig
* remove test
* update test
* Update spawn-streaming-stdin.test.ts
* fix linux build
* Update fs.test.ts
* cli message improvements
* dfshaj
* Fix fs.watch bug maybe?
* remove
---------
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2023-09-07 04:58:44 -07:00
Jarred Sumner
21b2d5c3a5
Update executables.md
2023-08-25 04:45:41 -07:00
Jarred Sumner
10815a7d43
Update executables.md
2023-08-25 04:33:54 -07:00
Jarred Sumner
f839640c17
Update executables.md
2023-08-25 04:32:20 -07:00
Colin McDonnell
b9b50e39d6
Fix broken link
2023-08-16 22:58:36 -07:00
Colin McDonnell
0b183beb51
Improve plugin docs
2023-08-07 14:02:43 -07:00
0xflotus
dccf82b1c6
docs: fixed small errors ( #3879 )
...
* Update cache.md
* Update index.md
* Update macros.md
* Update writing.md
2023-07-29 03:58:45 -07:00
Colin McDonnell
34fd4df646
Fix broken anchors
2023-07-26 17:11:15 -07:00
Vaughan Rouesnel
7ac94e5b4c
Typo in loaders.md ( #3728 )
2023-07-21 15:43:34 -07:00
dave caruso
dd58508684
Fix browser bundled string_decoder ( #3693 )
...
* Fix #3660
* doc fix
2023-07-19 17:37:20 -07:00
Derrick Farris
c366b62160
Update macros.md ( #3165 )
...
Fix a repeated "for"
2023-06-01 17:25:28 -07:00
Colin McDonnell
176fade220
Remove bun-macro-relay and update docs ( #3145 )
...
* Update macro docs
* Remove bun-macro-relay
2023-05-31 19:51:08 -07:00
Mike Roelens
a7c7128cd7
Fix typo in macro docs ( #3144 )
2023-05-31 18:15:49 -07:00
Colin McDonnell
68c1568075
Update macro doc
2023-05-31 13:58:38 -07:00
Colin McDonnell
4b34a7ce2a
Update macro serialization doc
2023-05-31 13:43:08 -07:00
Colin McDonnell
b284e09ce5
Update doc
2023-05-31 13:35:11 -07:00
Colin McDonnell
8f55f05871
Add macro docs ( #3139 )
...
* Add macro doc
* Updates
* Tweaks
2023-05-31 13:34:35 -07:00
Colin McDonnell
9b6913e1a6
More/better docs for JSX, utils, binary data, streams, hashing, bun test, Bun.serve ( #3005 )
...
* WIP
* Updates
* Document deepEquals
* WIP
* Update typeS
* Update TLS docs for Bun.serve
* Update types for tls
* Draft binary data page. Add Streams page.
* Update test runner docs
* Add hashing, flesh out utils
* Grammar
* Update types
* Fix
* Add import.meta docs
* Tee
2023-05-29 11:49:51 -07:00
Jarred Sumner
7b4bba787d
prettier
2023-05-25 18:14:01 -07:00