mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
* Support named exports in json imports * Support named imports for `*.json` files * Remove stale comments * Don't export arrays as non-default * Add test for default exports * Don't break webpack --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
19 lines
677 B
C++
19 lines
677 B
C++
#pragma once
|
|
|
|
#include "../bindings/ZigGlobalObject.h"
|
|
#include "JavaScriptCore/JSGlobalObject.h"
|
|
|
|
namespace Zig {
|
|
JSC::SyntheticSourceProvider::SyntheticSourceGenerator
|
|
generateObjectModuleSourceCode(JSC::JSGlobalObject *globalObject,
|
|
JSC::JSObject *object);
|
|
|
|
JSC::SyntheticSourceProvider::SyntheticSourceGenerator
|
|
generateObjectModuleSourceCodeForJSON(JSC::JSGlobalObject *globalObject,
|
|
JSC::JSObject *object);
|
|
|
|
JSC::SyntheticSourceProvider::SyntheticSourceGenerator
|
|
generateJSValueModuleSourceCode(JSC::JSGlobalObject *globalObject,
|
|
JSC::JSValue value);
|
|
|
|
} // namespace Zig
|