Skip to content
Snippets Groups Projects
Commit 077ecf8a authored by Tim Zallmann's avatar Tim Zallmann
Browse files

Fixes the Problem with the Repo Editor Loading Typescript Services

parent ea6a2b0a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -22,7 +22,8 @@ const RepoEditor = {
const monacoInstance = Helper.monaco.editor.create(this.$el, {
model: null,
readOnly: false,
contextmenu: false,
contextmenu: true,
scrollBeyondLastLine: false,
});
 
Helper.monacoInstance = monacoInstance;
Loading
Loading
Loading
Loading
@@ -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' +
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment