Skip to content

Commit

Permalink
chore: remove duplicate package.json file
Browse files Browse the repository at this point in the history
The additional package.json file, which was copied to
build/cjs/package.json, did hide the parent one, leading to several
issues and providing no real feature. The other one, copied to
build/esm/package.json, is needed though, to enforce the module type.

Related:

- socketio/socket.io#4194
- #1513
  • Loading branch information
darrachequesne committed Jan 4, 2022
1 parent 19836d9 commit f56fdd0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion postcompile.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

cp ./support/package.cjs.json ./build/cjs/package.json
cp ./support/package.esm.json ./build/esm/package.json

cp -r ./build/esm/ ./build/esm-debug/
Expand Down
5 changes: 0 additions & 5 deletions support/package.cjs.json

This file was deleted.

0 comments on commit f56fdd0

Please sign in to comment.