mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 14:43:28 +00:00
Refactors some of the module loading logic. Both normal modules import and dynamic module import now share more of the same code - they both go through the slightly modified `module` function. Dynamic modules now check the cache first, before loading, and when cached, resolve the correct promise. This can now happen regardless of the module loading state. Also tried to replace some page arenas with call arenas and added some basic tests for both normal and dynamic module loading.
14 lines
415 B
Zig
14 lines
415 B
Zig
.{
|
|
.name = .browser,
|
|
.paths = .{""},
|
|
.version = "0.0.0",
|
|
.fingerprint = 0xda130f3af836cea0,
|
|
.dependencies = .{
|
|
.v8 = .{
|
|
.url = "https://github.com/lightpanda-io/zig-v8-fork/archive/6018980ed7222bf7f568d058998f682dbee68ad3.tar.gz",
|
|
.hash = "v8-0.0.0-xddH6x_DAwBh0gSbFFv1fyiExhExXKzZpbmj5sFH4MRY",
|
|
},
|
|
// .v8 = .{ .path = "../zig-v8-fork" }
|
|
},
|
|
}
|