From 2725bae275e490362cede4e857a0176cd42e31cd Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Thu, 17 Oct 2024 01:32:13 +0300 Subject: [PATCH] webpack: Expose lodash in lib.js --- public/lib.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/lib.js b/public/lib.js index 5b7711699..ab1e6ff0c 100644 --- a/public/lib.js +++ b/public/lib.js @@ -2,6 +2,7 @@ * Add all the libraries that you want to expose to the client here. * They are bundled and exposed by Webpack in the /lib.js file. */ +import lodash from 'lodash'; import Fuse from 'fuse.js'; import DOMPurify from 'dompurify'; import hljs from 'highlight.js'; @@ -50,6 +51,7 @@ export function initLibraryShims() { } export default { + lodash, Fuse, DOMPurify, hljs, @@ -65,6 +67,7 @@ export default { }; export { + lodash, Fuse, DOMPurify, hljs,