diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-07-21 13:33:14 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-07-21 13:33:14 +0100 |
commit | 31eaeb95974ac0195b62d907053f287b970e5f8e (patch) | |
tree | b2927b9d9d24f8ddc0c1eedc46e92a2f9f63cb05 /config/webpack.config.js | |
parent | 50267d13073372a289b94a35b3414186207d1c9d (diff) | |
download | gitlab-ce-31eaeb95974ac0195b62d907053f287b970e5f8e.tar.gz |
Add define and require to window in vs transform
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r-- | config/webpack.config.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index d6d0743b0b3..6682421742f 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -216,6 +216,7 @@ var config = { return ( '(function(){\n' + 'var define = this.define, require = this.require;\n' + + 'window.define = define; window.require = require;\n' + content + '\n}.call(window.__monaco_context__ || (window.__monaco_context__ = {})));' ); |