aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bundler/bundle_v2.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bundler/bundle_v2.zig b/src/bundler/bundle_v2.zig
index 95595e4fb..951f93fcb 100644
--- a/src/bundler/bundle_v2.zig
+++ b/src/bundler/bundle_v2.zig
@@ -1259,7 +1259,7 @@ pub const BundleV2 = struct {
// If it's a file namespace, we should run it through the parser like normal.
// The file could be on disk.
const source = &this.graph.input_files.items(.source)[load.source_index.get()];
- if (strings.eqlComptime(source.path.namespace, "file")) {
+ if (source.path.isFile()) {
this.graph.pool.pool.schedule(ThreadPoolLib.Batch.from(&load.parse_task.task));
return;
}