Skip to content

CLJS-3233: :refer-global + :only, :require-global#263

Merged
swannodette merged 24 commits intomasterfrom
cljs-3233/globals
Oct 10, 2025
Merged

CLJS-3233: :refer-global + :only, :require-global#263
swannodette merged 24 commits intomasterfrom
cljs-3233/globals

Conversation

@swannodette
Copy link
Copy Markdown
Member

@swannodette swannodette commented Jul 25, 2025

  • fix test-parse-global-refer, can only :rename if in :only

- :refer-global :only semantically more aligned w/ Clojure
Support :require syntax for libraries external to the build

- add external-dep? helper for new :external? property for :foreign
libs
- Need to implicitly create :external? :foreign libs from
:require-global specs
- elide these libs from the js inputs, they have no files
- these libs don't need `goog.require`
- add basic unit tests
- ns* case
- require-global macro
- require-global macro REPL support
@swannodette swannodette merged commit be21ba1 into master Oct 10, 2025
11 checks passed
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