From cf0a07b2c4572be73f483b7d6140d8b53692c522 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Tue, 2 Jul 2024 22:48:08 +0200 Subject: [PATCH] reduce bundle size --- static/js/bootstrap.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/bootstrap.ts b/static/js/bootstrap.ts index 63f4fb4..1d8af7b 100644 --- a/static/js/bootstrap.ts +++ b/static/js/bootstrap.ts @@ -1,4 +1,5 @@ -import {Dropdown, Tooltip} from "bootstrap"; +import Dropdown from "bootstrap/js/dist/dropdown"; +import Tooltip from "bootstrap/js/dist/tooltip"; const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]') const tooltipList = [...tooltipTriggerList]