From bd9f5950ee117e9fb6a11123c05aeeddea2f6a40 Mon Sep 17 00:00:00 2001 From: "Luke \"Jared\" Bennett" Date: Fri, 21 Jul 2017 11:20:48 +0100 Subject: [PATCH] Remove all vs workers from transform --- config/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' +