diff options
author | 2022-02-04 02:43:49 -0800 | |
---|---|---|
committer | 2022-02-04 02:43:49 -0800 | |
commit | c03b7a6f19044e37985128a9e1751a8dc82f13fc (patch) | |
tree | 277bc1c69be2c9e80571f6fbed10e94060b2b613 | |
parent | 909e6a6bab01661c1e015658987ba6f53ee3ffd2 (diff) | |
download | bun-c03b7a6f19044e37985128a9e1751a8dc82f13fc.tar.gz bun-c03b7a6f19044e37985128a9e1751a8dc82f13fc.tar.zst bun-c03b7a6f19044e37985128a9e1751a8dc82f13fc.zip |
reminder
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | integration/scripts/browser.js | 2 | ||||
-rw-r--r-- | src/http.zig | 4 |
3 files changed, 6 insertions, 5 deletions
@@ -42,6 +42,7 @@ docker run --rm --init --ulimit memlock=-1:-1 jarredsumner/bun:edge - [Things that don’t work yet](#things-that-dont-work-yet) - [Limitations & intended usage](#limitations--intended-usage) - [Configuration](#configuration) + - [bunfig.toml](#bunfig-toml) - [Loaders](#loaders) - [CSS in JS](#css-in-js) - [CSS Loader](#css-loader) @@ -283,6 +284,10 @@ Longer-term, bun intends to replace Node.js, Webpack, Babel, and PostCSS (in pro ## Configuration +### bunfig.toml + +TODO: document this + ### Loaders A loader determines how to map imports & file extensions to transforms and output. diff --git a/integration/scripts/browser.js b/integration/scripts/browser.js index c6da2623c..479a55c9c 100644 --- a/integration/scripts/browser.js +++ b/integration/scripts/browser.js @@ -104,8 +104,6 @@ async function main() { async function runPage(key) { var page; try { - console.log("launched"); - page = await browser.newPage(); if (USE_EXISTING_PROCESS) { await page.evaluate(` diff --git a/src/http.zig b/src/http.zig index 03ebf50d3..62a07cfc0 100644 --- a/src/http.zig +++ b/src/http.zig @@ -3332,9 +3332,7 @@ pub const Server = struct { if (!finished) { req_ctx.bundler.router.?.match(*Server, server, RequestContext, req_ctx) catch |err| { switch (err) { - error.ModuleNotFound => { - req_ctx.sendNotFound() catch {}; - }, + error.ModuleNotFound => {}, else => { Output.printErrorln("FAIL [{s}] - {s}: {s}", .{ @errorName(err), req.method, req.path }); did_print = true; |