Closed Symboler closed 4 years ago
I tried importing a png
image and I got this error
Error: Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)
Fixed this by using another library: https://www.npmjs.com/package/rollup-plugin-image-files
Hope this helps.
We're moving this plugin to https://github.com/rollup/plugins where it'll get some TLC. Keep an eye out for this repo being archived and @rollup/plugin-images
.
Error: 'default' is not exported by './logo.png'