Skip to content

Commit

Permalink
fix: fix vite build for CommonJS users
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Nov 14, 2021
1 parent ab84c2d commit 5f22ed0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@
"browser": {
"./test/node": "./test/browser",
"./build/esm/encodePacket.js": "./build/esm/encodePacket.browser.js",
"./build/esm/decodePacket.js": "./build/esm/decodePacket.browser.js"
"./build/esm/decodePacket.js": "./build/esm/decodePacket.browser.js",
"./build/cjs/encodePacket.js": "./build/cjs/encodePacket.browser.js",
"./build/cjs/decodePacket.js": "./build/cjs/decodePacket.browser.js"
},
"engines": {
"node": ">=10.0.0"
Expand Down

0 comments on commit 5f22ed0

Please # to comment.