summaryrefslogtreecommitdiff
path: root/config/webpack.config.js
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-07-21 11:20:48 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-07-21 11:20:48 +0100
commitbd9f5950ee117e9fb6a11123c05aeeddea2f6a40 (patch)
tree20ede1bc9d8f630dc2967d1cf4405bf35c6dc611 /config/webpack.config.js
parente38f6fcb549c02044b3bc28aa95bb6ea46639148 (diff)
downloadgitlab-ce-bd9f5950ee117e9fb6a11123c05aeeddea2f6a40.tar.gz
Remove all vs workers from transform
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 412e12f6ac6..a92128f7aad 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) && !/workerMain/.test(path)) {
+ if (/\.js$/.test(path) && !/worker/.test(path)) {
return (
'(function(){\n' +
'var define = this.define, require = this.require;\n' +