mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
generate separate interop code for bun
This commit is contained in:
@@ -866,7 +866,7 @@ pub const VirtualMachine = struct {
|
||||
} else if (jsc_vm.node_modules == null and strings.eqlComptime(_specifier, Runtime.Runtime.Imports.Name)) {
|
||||
return ResolvedSource{
|
||||
.allocator = null,
|
||||
.source_code = ZigString.init(Runtime.Runtime.sourceContent(false)),
|
||||
.source_code = ZigString.init(Runtime.Runtime.sourceContentBun()),
|
||||
.specifier = ZigString.init(Runtime.Runtime.Imports.Name),
|
||||
.source_url = ZigString.init(Runtime.Runtime.Imports.Name),
|
||||
.hash = Runtime.Runtime.versionHash(),
|
||||
|
||||
Reference in New Issue
Block a user