Skip to content

Commit 890238a

Browse files
committed
docs: add comment about workaround
1 parent 5a651b4 commit 890238a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/src/shared/utilities/zipStream.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import { WritableStreamBuffer } from 'stream-buffers'
66
import crypto from 'crypto'
77
import { readFileAsString } from '../filesystemUtilities'
88

9+
// Does not offer CommonJS support officially: https://github.com/gildas-lormeau/zip.js/issues/362.
10+
// Webpack appears to handle this for us expirementally.
911
// @ts-ignore
1012
import { ZipWriter, TextReader, ZipReader, Uint8ArrayReader, EntryMetaData, Entry } from '@zip.js/zip.js'
1113
import { getLogger } from '../logger/logger'

0 commit comments

Comments
 (0)