forked from vitejs/vite
-
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
Description
Describe the bug
import { gzip } from "pako";
console.log(gzip(crypto.getRandomValues(new Uint8Array(16))));
rolldown-vite: 48.15 kb
vite: 29.50 kb
Reproduction
https://stackblitz.com/edit/vitejs-rolldown-vite-eyqff3nl?file=src%2Fmain.js
Steps to reproduce
No response
System Info
System:
OS: Linux 6.8 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
CPU: (4) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
Memory: 2.66 GB / 7.65 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 23.11.0 - /run/user/1000/fnm_multishells/8651_1751965729978/bin/node
Yarn: 1.22.22 - ~/.bun/bin/yarn
npm: 10.9.2 - /run/user/1000/fnm_multishells/8651_1751965729978/bin/npm
pnpm: 10.12.2 - ~/.bun/bin/pnpm
bun: 1.2.17 - ~/.bun/bin/bun
npmPackages:
rolldown-vite: 7.0.6
Used Package Manager
pnpm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs and the Rolldown-related guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.