aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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,