Hello!
I'm trying to use the plugin on our app, and everything seems to be working, except for our exclusion of dynamic imported locale files.
For that, we were using ContextReplacementPlugin to only include specific local files from intl-related dependencies. But that plugin does not seem to be compatible with BabelMultiTargetPlugin, as all locale files are now outputted as chunks.
If that's not supposed to happen, do you have any insight at what I might be missing here?
new webpack.ContextReplacementPlugin(/intl\/locale-data\/jsonp$/, /(fr-FR|en-US).js$/),
await import(/* webpackChunkName: "intl/[request]" */ `intl/locale-data/jsonp/${intlLocale}.js`);
Hello!
I'm trying to use the plugin on our app, and everything seems to be working, except for our exclusion of dynamic imported locale files.
For that, we were using
ContextReplacementPluginto only include specific local files from intl-related dependencies. But that plugin does not seem to be compatible withBabelMultiTargetPlugin, as all locale files are now outputted as chunks.If that's not supposed to happen, do you have any insight at what I might be missing here?