Skip to content

Commit

Permalink
fix: Restore CJS (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach authored Jun 29, 2024
1 parent b72a27e commit 2ffb0da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './lib/index';
module.exports = require('./build/lib');
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
},
"license": "Apache-2.0",
"author": "Appium Contributors",
"main": "./build/index.js",
"types": "./build/index.d.ts",
"main": "index.js",
"types": "./build/lib/index.d.ts",
"bin": {},
"directories": {
"lib": "lib"
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"checkJs": true
},
"include": [
"index.js",
"lib"
]
}

0 comments on commit 2ffb0da

Please sign in to comment.