diff options
Diffstat (limited to 'src/resolver/tsconfig_json.zig')
-rw-r--r-- | src/resolver/tsconfig_json.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resolver/tsconfig_json.zig b/src/resolver/tsconfig_json.zig index 6f1849b5f..cf9b366e2 100644 --- a/src/resolver/tsconfig_json.zig +++ b/src/resolver/tsconfig_json.zig @@ -186,6 +186,12 @@ pub const TSConfigJSON = struct { } } + if (compiler_opts.expr.asProperty("moduleSuffixes")) |prefixes| { + if (!source.path.isNodeModule()) { + log.addWarning(&source, prefixes.expr.loc, "moduleSuffixes is not supported yet") catch {}; + } + } + // Parse "paths" if (compiler_opts.expr.asProperty("paths")) |paths_prop| { switch (paths_prop.expr.data) { |