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
path: root/config
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-10-12 13:17:18 +0300
committerTim Zallmann <tzallmann@gitlab.com>2017-10-12 13:17:18 +0300
commit077ecf8a80733878fd35a407bdd623273598c3e2 (patch)
treeb405cf1639c57b21dbf5cf020a5f81f0cfab62ca /config
parentea6a2b0a84b25379df2b13adf3ba52da975db0b5 (diff)
Fixes the Problem with the Repo Editor Loading Typescript Services
Diffstat (limited to 'config')
-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 c515a170d2d..89cab19bec5 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -232,7 +232,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/i.test(path)) {
+ if (/\.js$/.test(path) && !/worker/i.test(path) && !/typescript/i.test(path)) {
return (
'(function(){\n' +
'var define = this.define, require = this.require;\n' +