Closed arthurmchr closed 4 years ago
Same here 0.36.1
I'm getting an error 'default' is not exported by xxx.svg
Also getting the same issue. Don't forget to vote on this issue.
This happens for the "es" and "cjs" formats too
I've created #7 with a workaround. You can install @timdp/rollup-plugin-image if you want to try it out.
Same issue with Rollup v 1.1.0
Error: 'default' is not exported by icons/user.png
same issue
This is still an issue for me too.
@timdp your package doesn't seem to fix this issue for me. Am I right to assume that a straight swap should be all that is required?
@maintainers are you actually looking at this? I've just ran into the same issue and can't believe this has been open since 2016.
@b12f Weird, maybe they didn't get the paycheck you sent them. Perhaps try sending it again.
@antony chill bro I know OSS development ain't the most thankful job, but a "we're accepting PRs" on this is the least you can do. Plus there's a proposed fix by @timdp (which afaics doesn't work 100%), so that's a possible PR we could work from. I'd even chip in and write code as well, but that's not much use as long as the project appears abandoned.
So feel free to check out the PR, diagnose, and fix the issues and resubmit.
The project isn't abandoned, it's in active use by a number of people (including me) every day. The maintainer is busy with a huge amount of other projects right now, so this one might not be the highest priority.
The project is awaiting your contribution, and should you be able to fix the issue, it will be merged in in due course.
@b12f it's better to make yet another JS-framework than maintain such a good thing as rollup for maintainers here =)
@timdp 's fork worked for me.
We're moving this plugin to https://github.com/rollup/plugins where it'll get some TLC. I'm running the changes in #7 by the team. From my local tests, it looks like it works. Keep an eye out for this repo being archived and @rollup/plugin-images
.
Hi,
I got an error when i try to use this plugin :
logo.svg does not export default
I must doing something wrong but I do not find. Here are the plugins I am using :
I follow the example to use it.
Thanks for any help.