Skip to content

maxvipon/react-app-rewire-bem-i18n-loader

Repository files navigation

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;
	}
};