So the bundle is apparently broken because popper isnt really bundled, but to fix it, popper2, not 1 needs to be included. Either in the package or by adding it manually to the project that needs the functionality.
so i also tested to include poppler2 manually in an html file in addition to
bootstrap.js (without bundle) and then the dropdown works.