Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maxvipon/react-app-rewire-bem-i18n-loader

Add webpack-bem-i18n-loader to a react-app-rewired config.
https://github.com/maxvipon/react-app-rewire-bem-i18n-loader

bem create-react-app eject i18n react-app-rewired webpack

Last synced: 8 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# react-app-rewire-bem-i18n-loader

Add [`bem-i18n-loader`](https://github.com/Yeti-or/webpack-bem-i18n-loader) to a [`react-app-rewired`](https://github.com/timarney/react-app-rewired) config.

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