-
-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
Reproduction link or steps
Hello, developer, when I use tsdown to package ioredis, if I put ioredis into devDependencies and turn on unbundle.
The packaged product cannot run.
TypeError: _Redis_js.require_Redis is not a function
https://stackblitz.com/edit/github-jsys525u?file=package.json,tsdown.config.ts
npm run build
node dist/index.js
What is expected?
Works
What is actually happening?
TypeError: _Redis_js.require_Redis is not a function
Any additional comments?
No response