From c03b7a6f19044e37985128a9e1751a8dc82f13fc Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Fri, 4 Feb 2022 02:43:49 -0800 Subject: reminder --- README.md | 5 +++++ integration/scripts/browser.js | 2 -- src/http.zig | 4 +--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7ea84b1f9..ed8c7a5bf 100644 --- a/README.md +++ b/README.md @@ -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; -- cgit v1.2.3