Replies: 1 comment
-
The error looks like there're some misconfigurations around your bundler, it's been a while since the last time I played with webpack so I can't tell what's going on immediately |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
I encountered a problem with SVG display:
When running
yarn tauri dev
locally, SVG is displayed normally;After executing the command
yarn tauri build
to generate the Mac installation package and installing it, SVG is no longer displayed and an error is reported:How should I solve this problem?
Reproduction
package.json:
webpack config:
components/Svg/index.jsx:
svg related code:
Expected behavior
SVG images can be displayed normally in both dev packages and build packages
Full
tauri info
outputStack trace
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions