webpack-contrib/i18n-loader

`enhanced-require` not declared in package.json

Closed this issue · 3 comments

enhanced-require is being used for the concat and merge loaders, but it is not declared as a dependency or peer dependency in package.json.

This module is deprecated. better use the I18nPlugin.

I got the impression the I18nPlugin only handled literal strings, not expressions. Is that not the case?

In my case I have plenty of translation keys that are generated through expressions that can only be resolved at runtime...

Why is this loader deprecated?