Skip to content

Conversation

@JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Jul 9, 2024

Please Read the CONTRIBUTING Guidelines
In particular the portion on Commit Message Formatting

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Does this PR introduce a breaking change?

  • Yes
  • No

Other information:
In this PR we rewrite the metadata test so that we can get rid of webpack deprecation warning due to the usage in react-intl-webpack-plugin. The new test focuses on the behavior of metadataSubscribers, where we drafted minimal Babel plugin and webpack plugin to ensure that this feature works.

The previous test is an integration test with react-intl, however, the babel-plugin-react-intl has been renamed as babel-plugin-formatjs and the usage also evolved a lot. The current integration test might not reflect the best practice anymore, so I suggest to remove previous tests.

@JLHwung JLHwung merged commit 943f412 into main Jul 10, 2024
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.

3 participants