Comments (16)
@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.
This happens for the "es" and "cjs" formats too
from rollup-plugin-image.
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.
@b12f Weird, maybe they didn't get the paycheck you sent them. Perhaps try sending it again.
from rollup-plugin-image.
Same issue with Rollup v 1.1.0
Error: 'default' is not exported by icons/user.png
from rollup-plugin-image.
same issue
from rollup-plugin-image.
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.
@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.
Same here 0.36.1
from rollup-plugin-image.
I'm getting an error 'default' is not exported by xxx.svg
from rollup-plugin-image.
Also getting the same issue. Don't forget to vote on this issue.
from rollup-plugin-image.
This is still an issue for me too.
from rollup-plugin-image.
@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.
@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.
@timdp 's fork worked for me.
from rollup-plugin-image.
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)
- Base64 encoded SVGs don't work HOT 1
- doesn't work with Typescript HOT 2
- Doesn't work with vue.
- doesn't work with react HOT 3
- imagemin support HOT 1
- Need exclude/include patterns for file types HOT 7
- 'import' and 'export' may only appear at the top level HOT 3
- Why is .js appended to svg imports? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rollup-plugin-image.