aboutsummaryrefslogtreecommitdiff
path: root/src/resolver
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-01-27 01:25:09 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-01-27 01:25:09 -0800
commit32733210dc1de752e297ad4b2d4893d7a22ae4f6 (patch)
treeb0d06b7b4106355d0bebacc7bec970ac7822ca7c /src/resolver
parent9f5a1705a51b92cdeabce177dcef3a2459ef0c8a (diff)
downloadbun-32733210dc1de752e297ad4b2d4893d7a22ae4f6.tar.gz
bun-32733210dc1de752e297ad4b2d4893d7a22ae4f6.tar.zst
bun-32733210dc1de752e297ad4b2d4893d7a22ae4f6.zip
[bunfig] Implement config file format
Diffstat (limited to 'src/resolver')
-rw-r--r--src/resolver/resolver.zig6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/resolver/resolver.zig b/src/resolver/resolver.zig
index bbb697d92..ef56d3faa 100644
--- a/src/resolver/resolver.zig
+++ b/src/resolver/resolver.zig
@@ -119,12 +119,6 @@ pub const Result = struct {
file_fd: StoredFileDescriptorType = 0,
import_kind: ast.ImportKind = undefined,
- pub fn getMacroRemappings(this: *const Result) MacroRemap {
- const pkg = this.package_json orelse return MacroRemap{};
-
- return pkg.macros;
- }
-
pub fn path(this: *Result) ?*Path {
if (!this.path_pair.primary.is_disabled)
return &this.path_pair.primary;