aboutsummaryrefslogtreecommitdiff
path: root/src/http.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/http.zig')
-rw-r--r--src/http.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.zig b/src/http.zig
index 6b34adac4..8541ee007 100644
--- a/src/http.zig
+++ b/src/http.zig
@@ -3911,7 +3911,7 @@ pub const Server = struct {
if (node_modules_bundle.getPackageIDByName(package_name) != null) return;
}
- _ = this.bundler.resolver.resolve(this.bundler.fs.top_level_dir, this.bundler.options.jsx.import_source, .internal) catch {
+ _ = this.bundler.resolver.resolve(this.bundler.fs.top_level_dir, this.bundler.options.jsx.importSource(), .internal) catch {
// if they don't have React, they can't use fast refresh
this.bundler.options.jsx.supports_fast_refresh = false;
return;