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 2be63d6 commit cdf94dbCopy full SHA for cdf94db
npm-packages/cli/source/components/commands/publish.tsx
@@ -73,10 +73,7 @@ export default function Publish({cli}: {cli: Result<Flags>}) {
73
const blob = new Blob([buffer], {
74
type: 'application/zip',
75
});
76
- const file = new File([blob], 'dist.zip', {
77
- type: 'application/zip',
78
- });
79
- formData.append('file', file, 'dist.zip');
+ formData.append('file', blob, 'dist.zip');
80
81
// Send the file to the server
82
const res = await fetch(
0 commit comments