webpack: Expose lodash in lib.js

2725bae275e490362cede4e857a0176cd42e31cd

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +3 -0Showing whitespace changes
public/lib.js+3 -0
@@ -2,6 +2,7 @@
22 * Add all the libraries that you want to expose to the client here.
33 * They are bundled and exposed by Webpack in the /lib.js file.
44 */
5+import lodash from 'lodash';
56import Fuse from 'fuse.js';
67import DOMPurify from 'dompurify';
78import hljs from 'highlight.js';
@@ -50,6 +51,7 @@ export function initLibraryShims() {
5051}
5152
5253export default {
54+ lodash,
5355 Fuse,
5456 DOMPurify,
5557 hljs,
@@ -65,6 +67,7 @@ export default {
6567};
6668
6769export {
70+ lodash,
6871 Fuse,
6972 DOMPurify,
7073 hljs,