summaryrefslogtreecommitdiff
path: root/config/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 422f60736e7..f4324ffafc7 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -398,7 +398,9 @@ module.exports = {
new VueLoaderPlugin(),
// automatically configure monaco editor web workers
- new MonacoWebpackPlugin(),
+ new MonacoWebpackPlugin({
+ globalAPI: true,
+ }),
// fix legacy jQuery plugins which depend on globals
new webpack.ProvidePlugin({