Open whitphx opened 4 days ago
st.balloons()
works because the images are loaded as Base64 stringst.snow()
somehow works because the src
URL is specified as absolute URLs... WHY?
st.snow()
images are *.png
but the Streamlit logo is *.svg
?https://github.com/whitphx/stlite/blob/1c65638d162d988c875d55944856dc8122ad0f59/packages/mountable/config/webpack.config.js#L368-L405 This build config difference?
Probably we should leave this issue until the next ver. of Streamlit is released that is built with a totally new build pipeline based on Vite.
This feature was introduced in https://github.com/streamlit/streamlit/pull/9670, and this part needs a care for Stlite.
https://github.com/streamlit/streamlit/blob/1.40.1/frontend/lib/src/components/shared/StreamlitMarkdown/StreamlitMarkdown.tsx#L475
Credit: @Sakatoku reported this bug.