Comments (3)
As far as i understand, angular gives you link how to dim that warning. So, nothing to fix in this repo.
import imageReducer from 'image-blob-reduce';
import pica from 'pica';
Do you really need direct access to pica? If yes, try bundled one from image-blob-reduce
:
import ImageReducer from 'image-blob-reduce';
const pica = ImageReducer.pica;
from image-blob-reduce.
I understand, but I don't want to simply "dim" the warning. I'm not really a "node module expert" so don't really know how easy/hard it is to convert your module to an ES module.
This module is the only one in my application that produces the error.
As I said, it isn't a really high priority (as I can dim the warning).
ps. Thanks for the tip on using bundled pica. I've made that change.
from image-blob-reduce.
Sorry, there are no plans to change this module to es6
from image-blob-reduce.
Related Issues (20)
- Could not find a declaration file for module 'image-blob-reduce' HOT 5
- Bug in scaling logic example in documentation HOT 2
- mozjpeg encoding HOT 7
- EXIF not preserved HOT 9
- toBlob then not working without debugger HOT 3
- compressed image corrupted (firefox 89) HOT 10
- support for typescript? HOT 1
- Add example to use ES6 Import HOT 1
- Chrome image is black , works fine on Safari HOT 9
- Uncaught ReferenceError: sp is not defined HOT 5
- Pica v8 upgrade HOT 1
- CRA fix "ReferenceError: a is not defined" with CRACO
- Black line with big images HOT 4
- Typescript Support HOT 1
- Web worker compatibility HOT 1
- Using esbuild instead of Rollup fixes known terser bug HOT 5
- slow image resizing HOT 1
- UI is blocking on Safari HOT 1
- Request for update to documentation.
- Output is blank when running on mobile HOT 3
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 image-blob-reduce.