Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-07-21 14:17:17 +0300
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-07-21 14:17:17 +0300
commit2169b9a7d038f8013a7bc41652d2b0bd21c7a141 (patch)
tree4e6703e21def0642f8a7d59a456a7b2a69d1240d /config/webpack.config.js
parentdbafcc062d291e2eed779e73f3e848bb83e8191b (diff)
ignore case for worker exclusion
Diffstat (limited to 'config/webpack.config.js')
-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 a92128f7aad..d6d0743b0b3 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -212,7 +212,7 @@ var config = {
from: path.join(ROOT_PATH, `node_modules/monaco-editor/${IS_PRODUCTION ? 'min' : 'dev'}/vs`),
to: 'monaco-editor/vs',
transform: function(content, path) {
- if (/\.js$/.test(path) && !/worker/.test(path)) {
+ if (/\.js$/.test(path) && !/worker/i.test(path)) {
return (
'(function(){\n' +
'var define = this.define, require = this.require;\n' +