Skip to content

Commit

Permalink
fix: switch to cjs for binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Jan 11, 2022
1 parent 677ae7b commit 402c96f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 2 additions & 0 deletions packages/unlighthouse/bin/unlighthouse-ci.cjs
@@ -0,0 +1,2 @@
#!/usr/bin/env node
import('@unlighthouse/cli/ci')
2 changes: 0 additions & 2 deletions packages/unlighthouse/bin/unlighthouse-ci.mjs

This file was deleted.

2 changes: 2 additions & 0 deletions packages/unlighthouse/bin/unlighthouse.cjs
@@ -0,0 +1,2 @@
#!/usr/bin/env node
import('@unlighthouse/cli')
2 changes: 0 additions & 2 deletions packages/unlighthouse/bin/unlighthouse.mjs

This file was deleted.

4 changes: 2 additions & 2 deletions packages/unlighthouse/package.json
Expand Up @@ -32,8 +32,8 @@
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"bin": {
"unlighthouse": "bin/unlighthouse.mjs",
"unlighthouse-ci": "bin/unlighthouse-ci.mjs"
"unlighthouse": "bin/unlighthouse.cjs",
"unlighthouse-ci": "bin/unlighthouse-ci.cjs"
},
"types": "index.d.ts",
"scripts": {
Expand Down

0 comments on commit 402c96f

Please sign in to comment.