Created
August 28, 2019 17:32
-
-
Save AdamRamberg/d0fe3777db2711b013cbaa3b6e11612b to your computer and use it in GitHub Desktop.
Translate your React app with ease using Facebook's own framework (FBT) - webpack.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
module.exports = { | |
entry: [ | |
path.join(process.cwd(), 'src/i18n/init.js'), // Init i18n framework | |
path.join(process.cwd(), 'src/index.js'), // App entry | |
], | |
// Add more config here... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment