Skip to content
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

@swc/plugin-formatjs idInterpolationPattern digestType support #401

Open
madspark opened this issue Jan 28, 2025 · 2 comments
Open

@swc/plugin-formatjs idInterpolationPattern digestType support #401

madspark opened this issue Jan 28, 2025 · 2 comments

Comments

@madspark
Copy link

madspark commented Jan 28, 2025

Similar issue to #395

For some reason, this port of formatjs doesn't support specifying digest types. Relevant commented out code:

// let digest_type = cap.get(2);

This is a request to add support for digest types. In my limited usecase, I depend on the "hex:9" digest type, but this issue is for tracking the general problem.

@MylesWardell
Copy link

MylesWardell commented Feb 19, 2025

Code was merged for this here. I don't quite understand why it has not been released yet? Is their some kind of @swc-next version you can target?

Looks like the build failed https://github.com/swc-project/plugins/actions/runs/13381072864/job/37369626436 @kdy1

#408

@madspark
Copy link
Author

@MylesWardell The linked code merge does not address this issue. It addresses a similar unrelated issue. My issue is only about digest types, which remain to be commented out even after the above change was merged. Please refer to the code line linked in the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants