Jarred Sumner
25abce43db
Update fullstack.md
2025-01-15 17:42:33 -08:00
Jarred Sumner
46d02cda2b
Update fullstack.md
2025-01-15 16:57:01 -08:00
Jarred Sumner
01571804b8
Update fullstack.md
2025-01-15 16:46:52 -08:00
Jarred Sumner
6e4cdf3528
Update fullstack.md
2025-01-15 16:39:49 -08:00
Jarred Sumner
274859584d
Add docs for html imports
2025-01-15 16:33:24 -08:00
Eric Liu
8d82302ec5
docs(plugins): fix typos ( #16174 )
2025-01-05 18:50:03 -08:00
Jarred Sumner
da54e81955
Support bundling HTML files and their js, css, and assets in Bun.build and bun build ( #15940 )
2024-12-23 11:04:38 -08:00
dave caruso
7b3554f90c
feat(bundler): add --windows-icon, --windows-no-console, fix bun.exe's main icon ( #15894 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-12-20 03:22:16 -08:00
dave caruso
41924211f2
add throw: true in Bun.build, to be made default in 1.2 ( #15861 )
2024-12-18 19:27:59 -08:00
Jarred Sumner
1d48561709
Update plugins.md
2024-12-17 01:49:02 -08:00
Jarred Sumner
f2e0d606b6
Update plugins.md
2024-12-17 01:34:17 -08:00
Jarred Sumner
385868f504
Update plugins.md
2024-12-17 01:34:00 -08:00
Jarred Sumner
eecbeb32ec
Move bundler plugin docs
2024-12-17 01:31:14 -08:00
Jarred Sumner
38325aa41c
Introduce env option in Bun.build() and bun build to let you inject FOO_PUBLIC_*-style env vars ( #15678 )
2024-12-10 01:09:46 -08:00
Jarred Sumner
c77fc5daa0
Implement --drop ( #14492 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-10-11 20:52:23 -07:00
Grigory
73537de184
docs(bundler): add missing codetabs closing tag ( #14443 )
2024-10-09 15:13:42 -07:00
versecafe
7996d06b8f
--footer esbuild & rollup style! ( #14396 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-08 02:32:37 -07:00
versecafe
62da730060
add banner, .d.ts, cli, make sourcemap compat, and add tests + docs ( #14370 )
2024-10-07 18:05:06 -07:00
Zack Radisic
a01f9d8e1b
Integrate CSS with bundler ( #14281 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Zack Radisic <zackradisic@Mac.attlocal.net >
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
Co-authored-by: Zack Radisic <zackradisic@Zacks-MBP.attlocal.net >
2024-10-04 20:23:10 -07:00
lewismiddleton
3ab3dec34d
fix(docs): typo in bundler/index.md ( #13370 )
2024-10-04 20:21:04 -07:00
Jarred Sumner
07fd814629
Update index.md
2024-10-01 04:32:02 -07:00
Jarred Sumner
e348fef1c6
Update index.md
2024-10-01 04:26:19 -07:00
Jarred Sumner
68b910cbd9
Update index.md
2024-10-01 04:25:30 -07:00
Jarred Sumner
2f7ff95e5c
Introduce bytecode caching, polish "cjs" bundler output format ( #14232 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-09-30 22:37:42 -07:00
Jarred Sumner
80cb9e77bc
Use absolute links in docs
2024-09-10 15:11:16 -07:00
Jarred Sumner
02ff16d95c
Support Worker, relative file paths in standalone executables, and partially directories ( #13421 )
2024-08-20 13:05:40 -07:00
MARCROCK22
5a8e98cec2
add missing Timer types and Bun.build sourcemap "linked" ( #13349 )
2024-08-16 14:26:44 -07:00
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