Skip to content

Conversation

MiroslavDionisiev
Copy link
Contributor

@MiroslavDionisiev MiroslavDionisiev commented Feb 6, 2025

Resolves

UEPR-56

Proposed Changes

Addresses the webpack section from the migration guide https://formatjs.github.io/docs/react-intl/upgrade-guide-3x#webpack

Comment on lines +119 to +121
path.join(__dirname, 'node_modules/react-intl'),
path.join(__dirname, 'node_modules/intl-messageformat'),
path.join(__dirname, 'node_modules/intl-messageformat-parser')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not positive about this, but it seems like require.resolve('react-intl') might be safer, and/or maybe these modules should be dependencies of scratch-webpack-configuration to ensure that they're available at all.

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.

2 participants