We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aaf7c3 commit d17afa0Copy full SHA for d17afa0
app/utils/download.ts
@@ -14,6 +14,7 @@ export function downloadProject() {
14
name: 'rolldown-repl-project',
15
version: '1.0.0',
16
private: true,
17
+ packageManager: '[email protected]',
18
type: 'module',
19
scripts: {
20
build: 'rolldown',
@@ -37,7 +38,7 @@ export function downloadProject() {
37
38
}
39
40
export function triggerDownload(data: Uint8Array, filename: string) {
- const blob = new Blob([data], { type: 'application/zip' })
41
+ const blob = new Blob([new Uint8Array(data)], { type: 'application/zip' })
42
const url = URL.createObjectURL(blob)
43
44
const link = document.createElement('a')
0 commit comments