summaryrefslogtreecommitdiff
path: root/config/webpack.config.js
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-10-12 12:17:18 +0200
committerTim Zallmann <tzallmann@gitlab.com>2017-10-12 12:17:18 +0200
commit077ecf8a80733878fd35a407bdd623273598c3e2 (patch)
treeb405cf1639c57b21dbf5cf020a5f81f0cfab62ca /config/webpack.config.js
parentea6a2b0a84b25379df2b13adf3ba52da975db0b5 (diff)
downloadgitlab-ce-077ecf8a80733878fd35a407bdd623273598c3e2.tar.gz
Fixes the Problem with the Repo Editor Loading Typescript Serviceside-update-monaco
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 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' +