Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

js: Use simplebar ES module.

Anders Kaseorgb00a0bfe5398
diff --git a/static/js/ui.js b/static/js/ui.js
index a20d80981f4..40f86768487 100644
--- a/static/js/ui.js
+++ b/static/js/ui.js
@@ -1,6 +1,6 @@
"use strict";
-const SimpleBar = require("simplebar/dist/simplebar");
+const SimpleBar = require("simplebar").default;
// What, if anything, obscures the home tab?
diff --git a/tools/webpack.assets.json b/tools/webpack.assets.json
index 7312afe306f..09d8c840905 100644
--- a/tools/webpack.assets.json
+++ b/tools/webpack.assets.json
@@ -49,7 +49,7 @@
"help": [
"./static/js/bundles/portico",
"simplebar/dist/simplebar.css",
- "simplebar/dist/simplebar",
+ "simplebar",
"./static/js/portico/help",
"./static/js/portico/tabbed-instructions"
],