summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-05-25 16:03:21 +0100
committerPhil Hughes <me@iamphill.com>2017-05-25 16:03:21 +0100
commit83060667b057e73122227257d2958d77b10e3562 (patch)
treef019c80aec7e6eb3c0e4e1b23e7cd1e48e486756
parent6ece9792666d5ac8670b4c275c42c6ec8998322d (diff)
downloadgitlab-ce-locale-region-fix.tar.gz
Fixed locale frontend not picking up regionslocale-region-fix
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
-rw-r--r--config/webpack.config.js2
1 files changed, 1 insertions, 1 deletions
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',
},
]