ttag-org / ttag-po-loader

Webpack loader for .po files for ttag
MIT License
1 stars 2 forks source link

Doesn't work with today's create-react-app + react-app-rewired #5

Open dimaqq opened 2 months ago

dimaqq commented 2 months ago

The official instructions lead to this error:

Cannot read properties of undefined (reading 'exclude')

This suggested webpack override step doesn't seem to find anything like file-loader: loaders.find(l => l?.loader?.match(/file-loader/)).exclude.push(/[.]po$/);

dimaqq commented 2 months ago

MRE: https://github.com/dimaqq/mre-ttag-po-loader-5