Skip to content

Commit

Permalink
Remove type: module to work around ESM bug
Browse files Browse the repository at this point in the history
  • Loading branch information
benbucksch committed Jan 30, 2021
1 parent bd554a6 commit ff42777
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from "main.js";
export * from "renderer.js";
import JPCMainProcess from "./main.js";
import JPCRendererProcess from "./renderer.js";
export { JPCMainProcess, JPCRendererProcess };
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"ws": "^7.4.2"
},
"devDependencies": {},
"type": "module",
"scripts": {
"test": "node test-server.js & sleep 1 && node test-client.js"
},
Expand Down

0 comments on commit ff42777

Please sign in to comment.