-
Notifications
You must be signed in to change notification settings - Fork 710
Add js-options field so that user-defined options can be passed to javascript preprocessor #10721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Is this a |
@Mikolaj Looks easy enough, can you assign me? |
Swordlash
added a commit
to Swordlash/cabal
that referenced
this issue
Jan 6, 2025
…ing options for js (haskell#10721)
Mikolaj
pushed a commit
to Swordlash/cabal
that referenced
this issue
Feb 1, 2025
…ing options for js (haskell#10721)
zlonast
added a commit
to zlonast/cabal
that referenced
this issue
May 12, 2025
add GhcOptions test partial fix for haskell#10721
zlonast
added a commit
to zlonast/cabal
that referenced
this issue
May 18, 2025
add GhcOptions test partial fix for haskell#10721
zlonast
added a commit
to zlonast/cabal
that referenced
this issue
May 19, 2025
Co-authored-by: Swordlash [email protected]
zlonast
added a commit
to zlonast/cabal
that referenced
this issue
May 19, 2025
Co-authored-by: Mateusz Goslinowski <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the feature request
See the GHC ticket and description of the issue: https://gitlab.haskell.org/ghc/ghc/-/issues/25632#note_602729
There seems to be currently no way to pass JS CPP options for js-sources, like defining your own macros.
Additional context
This would enable things like TRACE flags in libraries that conditionally compile logging directives, for instance.
The text was updated successfully, but these errors were encountered: