use import instead of class

This commit is contained in:
Zack Radisic
2025-09-17 17:09:18 -07:00
parent 916d44fc45
commit f5122bdbf1

View File

@@ -283,7 +283,7 @@ pub fn NewParser_(
jsx_imports: JSXImport.Symbols = .{},
/// only applicable when `.options.features.react_fast_refresh` is set.
/// populated befora visit pass starts.
/// populated before visit pass starts.
react_refresh: ReactRefresh = .{},
/// only applicable when `.options.features.server_components` is
@@ -2109,7 +2109,7 @@ pub fn NewParser_(
switch (p.options.features.server_components) {
.none, .client_side => {},
else => {
p.response_ref = try p.declareGeneratedSymbol(.class, "Response");
p.response_ref = try p.declareGeneratedSymbol(.import, "Response");
p.bun_app_namespace_ref = try p.newSymbol(
.other,
"import_bun_app",