Skip to content

Generate transform and minify inputs from typespecs - #10

Closed
dannote wants to merge 2 commits into
isolated-declarationsfrom
generated-inputs
Closed

dannote wants to merge 2 commits into
isolated-declarationsfrom
generated-inputs

Conversation

@dannote

@dannote dannote commented Oct 7, 2026

Copy link
Copy Markdown
Member

Stacked on #9. Converts TransformInput and MinifyInput to RustQ-generated NifMaps from OXC.Codegen.NativeTypes; deletes the hand-written readers and the now-unused :mangle atom. Behaviour unchanged (301 tests, lint green).

BundleOptions is left for its own PR: OXC.Native.bundle/bundle_entry and OXC.Bundle.to_native/1 send different key sets, defaults live in Rust (format, jsx), and entry/file sources are passed as terms — it wants the Elixir producers unified first.

TransformInput and MinifyInput are RustQ-generated NifMaps declared in
OXC.Codegen.NativeTypes, like the linter's inputs and the isolated
declarations input, in place of hand-written term readers. The bundle
options stay as they are for now: two producers send different key sets,
defaults live in Rust, and sources are passed as terms.
Nothing users can observe changed.
@dannote
dannote deleted the branch isolated-declarations October 7, 2026 19:51
@dannote dannote closed this Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant