Skip to content

Commit 215c613

Browse files
committed
keep redundant main field for webpack 4
This field is ignored by all modern tools when "exports" is present.
1 parent 0ab7aa9 commit 215c613

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "hash-wasm",
33
"version": "4.12.0",
44
"description": "Lightning fast hash functions for browsers and Node.js using hand-tuned WebAssembly binaries (MD4, MD5, SHA-1, SHA-2, SHA-3, Keccak, BLAKE2, BLAKE3, PBKDF2, Argon2, bcrypt, scrypt, Adler-32, CRC32, CRC32C, RIPEMD-160, HMAC, xxHash, SM3, Whirlpool)",
5+
"main": "dist/index.cjs",
56
"exports": {
67
"require": "dist/index.cjs",
78
"default": "dist/index.mjs"

0 commit comments

Comments
 (0)