mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
[JSON loader] Fix importing JSON in ESM modules
This commit is contained in:
@@ -2235,7 +2235,7 @@ pub const Bundler = struct {
|
||||
|
||||
return BuildResolveResultPair{
|
||||
.written = switch (result.ast.exports_kind) {
|
||||
.esm => try bundler.print(
|
||||
.none, .esm => try bundler.print(
|
||||
result,
|
||||
Writer,
|
||||
writer,
|
||||
|
||||
Reference in New Issue
Block a user