Skip to content
Snippets Groups Projects
Verified Commit bd9f5950 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett
Browse files

Remove all vs workers from transform

parent e38f6fcb
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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' +
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