Fixed locale frontend not picking up regions

This was caused by a webpack config issue that would only look in folders that only had lower case letters. This has been changed to include any word character

Closes #32913
This commit is contained in:
Phil Hughes 2017-05-25 16:03:21 +01:00
parent 6ece979266
commit 83060667b0

View file

@ -100,7 +100,7 @@ var config = {
loader: 'file-loader',
},
{
test: /locale\/[a-z]+\/(.*)\.js$/,
test: /locale\/\w+\/(.*)\.js$/,
loader: 'exports-loader?locales',
},
]