Comments (4)
For anyone trying to get Uppy to work when bundled with Vite, here's the proper thing to do in your vite.config.ts
:
// Install and import this plugin
import { nodePolyfills } from "vite-plugin-node-polyfills"
export default defineConfig({
plugins: [
// The Buffer API appears to be the only one required by Uppy
nodePolyfills({
include: ["buffer"],
globals: { Buffer: true },
}),
]
})
from uppy.
FWIW I tried to follow the logic up the chain from the line where I caught the error to try to figure out what was swallowing it, but I was unable to easily identify the issue.
from uppy.
Do you have a reproducible example on CodeSandbox/StackBlitz? We test against all major bundlers in CI and we use Vite locally to develop and we haven't seen this problem.
from uppy.
My apologies, it must be an issue with a transitive dependency then. Thanks!
from uppy.
Related Issues (20)
- Resume failed with aws-s3-multipart and shouldUseMultipart = true option HOT 1
- New provider views + disabling GoogleDrive "shared drives"
- Wrong font in <Dashboard/> example on https://uppy.io/examples HOT 1
- Support for Angular 17 HOT 2
- Adding COMPANION_SECRET does not pick up the secret value HOT 1
- use globalThis rather than window HOT 7
- Minio xml result response ends in new upload retry HOT 4
- [4.x] fa_IR locale missing export default HOT 1
- Implement facebook app secret proof HOT 1
- [4.x] Dashboard doneButtonHandler resets parent state (without re-render) HOT 4
- Documentation - "locale" option for Dashboard HOT 1
- Dropbox file selection issue HOT 2
- hideUploadButton not working! HOT 1
- Form with an Uppy-element without uploads must be submitted twice HOT 1
- Some thoughts about the UI of GooglePhotos.
- Done button shows when doneButtonHandler is null
- SyntaxError in Safari on macOS when loading uppy.min.js (v3.22.2 and later) HOT 3
- Please add documentation on how to use uppy with an existing s3 client HOT 1
- Tus endpoint not being respected after initial request behind reverse proxy HOT 2
- i18n "Shared with me" etc
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 uppy.