aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-06-04 03:46:52 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-06-04 03:46:52 -0700
commit76267469045a9b073ff523d19d31bc8669a6a44c (patch)
tree85e510ac553df8eec75afe43db549881e0cddbac /src
parentfa2f60cdd529c589505f2ec5fa2eb21c5abf8aaa (diff)
downloadbun-76267469045a9b073ff523d19d31bc8669a6a44c.tar.gz
bun-76267469045a9b073ff523d19d31bc8669a6a44c.tar.zst
bun-76267469045a9b073ff523d19d31bc8669a6a44c.zip
readme was premature
Former-commit-id: a0d6d02fe823f59dc969f9914b7d75cc8a07b03e
Diffstat (limited to 'src')
-rw-r--r--src/bundler.zig2
-rw-r--r--src/resolver/resolver.zig3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/bundler.zig b/src/bundler.zig
index f4777c345..c2422848b 100644
--- a/src/bundler.zig
+++ b/src/bundler.zig
@@ -41,7 +41,7 @@ pub const ResolveQueue = std.fifo.LinearFifo(Resolver.Resolver.Result, std.fifo.
// 2. Look at the extension of that file path, and determine a loader
// 3. If the loader is .js, .jsx, .ts, .tsx, or .json, run it through our JavaScript Parser
// IF serving via HTTP and it's parsed without errors:
-// 4. If parsed without errors, generate a strong ETag & write the output directly to the network socket in the Printer.
+// 4. If parsed without errors, generate a strong ETag & write the output to a buffer that sends to the in the Printer.
// 7. Else, write any errors to error page
// IF writing to disk AND it's parsed without errors:
// 4. Write the output to a temporary file.
diff --git a/src/resolver/resolver.zig b/src/resolver/resolver.zig
index edf1bbb6c..abe4c2dbc 100644
--- a/src/resolver/resolver.zig
+++ b/src/resolver/resolver.zig
@@ -91,6 +91,9 @@ pub const TemporaryBuffer = struct {
pub threadlocal var TSConfigMatchFullBuf = std.mem.zeroes([512]u8);
};
+// TODO:
+// - Fix "browser" field mapping
+// - Consider removing the string list abstraction?
pub const Resolver = struct {
opts: options.BundleOptions,
fs: *Fs.FileSystem,