@oakserver/oak causing ReadableStream" is not exported by "__vite-browser-external"
#15900
Closed
7 tasks done
Labels
Describe the bug
Using a custom plugin (that uses vite-plugin-node-polyfills) to build a file that uses @oakserver/oak gets the following build error:
In my repro see functionPlugin.js which is building functions/test.js.
Locally I was getting a slightly different error as my repro is slightly different. It was the same error as described in this issue.
Reproduction
https://stackblitz.com/edit/vitejs-vite-kbtffm?file=functions%2Ftest.js
Steps to reproduce
No response
System Info
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel® Core™ i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 18.18.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.2.3 - /usr/local/bin/npm pnpm: 8.14.0 - /usr/local/bin/pnpm npmPackages: vite: ^5.1.1 => 5.1.1
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: