9785ba8eca
Fixes one of the items from #25854 ## Documentation / Examples - [x] Make sure the linting passes - [x] Add the StackBlitz button - [x] [Live demo](https://stackblitz.com/github/akellbl4/next.js/tree/examples/with-lingui-update/examples/with-lingui)
16 lines
285 B
JavaScript
16 lines
285 B
JavaScript
const { locales, sourceLocale } = require('./lingui.config.js')
|
|
|
|
module.exports = {
|
|
i18n: {
|
|
locales,
|
|
defaultLocale: sourceLocale,
|
|
},
|
|
webpack: (config) => {
|
|
config.module.rules.push({
|
|
test: /\.po/,
|
|
use: ['@lingui/loader'],
|
|
})
|
|
|
|
return config
|
|
},
|
|
}
|