Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 430 Bytes

File metadata and controls

18 lines (13 loc) · 430 Bytes

react-app-rewire-bem-i18n-loader

Add bem-i18n-loader to a react-app-rewired config.

const rewireBemI18N = require('react-app-rewire-bem-i18n-loader')

module.exports = {
	webpack: (config, env) => {
		// Add BEM I18N support
		config = rewireBemI18N(config, env);

		// ...other staff

		return config;
	}
};