GithubHelp home page GithubHelp logo

Comments (16)

houd1ni avatar houd1ni commented on June 29, 2024 7

@b12f it's better to make yet another JS-framework than maintain such a good thing as rollup for maintainers here =)

from rollup-plugin-image.

legrego avatar legrego commented on June 29, 2024 6

This happens for the "es" and "cjs" formats too

from rollup-plugin-image.

timdp avatar timdp commented on June 29, 2024 4

I've created #7 with a workaround. You can install @timdp/rollup-plugin-image if you want to try it out.

from rollup-plugin-image.

antony avatar antony commented on June 29, 2024 4

@b12f Weird, maybe they didn't get the paycheck you sent them. Perhaps try sending it again.

from rollup-plugin-image.

lcfd avatar lcfd commented on June 29, 2024 3

Same issue with Rollup v 1.1.0
Error: 'default' is not exported by icons/user.png

from rollup-plugin-image.

yash2code avatar yash2code commented on June 29, 2024 3

same issue

from rollup-plugin-image.

antony avatar antony commented on June 29, 2024 2

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.

from rollup-plugin-image.

b12f avatar b12f commented on June 29, 2024 1

@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.

from rollup-plugin-image.

austbot avatar austbot commented on June 29, 2024

Same here 0.36.1

from rollup-plugin-image.

piotr-cz avatar piotr-cz commented on June 29, 2024

I'm getting an error 'default' is not exported by xxx.svg

from rollup-plugin-image.

antony avatar antony commented on June 29, 2024

Also getting the same issue. Don't forget to vote on this issue.

from rollup-plugin-image.

regrettably avatar regrettably commented on June 29, 2024

This is still an issue for me too.

from rollup-plugin-image.

antony avatar antony commented on June 29, 2024

@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?

from rollup-plugin-image.

b12f avatar b12f commented on June 29, 2024

@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.

from rollup-plugin-image.

adonespitogo avatar adonespitogo commented on June 29, 2024

@timdp 's fork worked for me.

from rollup-plugin-image.

shellscape avatar shellscape commented on June 29, 2024

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.

from rollup-plugin-image.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.