From 83060667b057e73122227257d2958d77b10e3562 Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Thu, 25 May 2017 16:03:21 +0100 Subject: [PATCH] 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 --- config/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/webpack.config.js b/config/webpack.config.js index 42024739fe9..45ac134a4f3 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -100,7 +100,7 @@ var config = { loader: 'file-loader', }, { - test: /locale\/[a-z]+\/(.*)\.js$/, + test: /locale\/\w+\/(.*)\.js$/, loader: 'exports-loader?locales', }, ]