Skip to content

Commit

Permalink
Exports shell.js and make.js on package.json (#1135)
Browse files Browse the repository at this point in the history
Exports shell.js and make.js on package.json so make.js can be imported as "shelljs/make" without require file extension when using ESM.
  • Loading branch information
alexojegu committed Nov 17, 2023
1 parent 6269733 commit 78ed036
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Expand Up @@ -23,6 +23,11 @@
"license": "BSD-3-Clause",
"homepage": "http://github.com/shelljs/shelljs",
"main": "./shell.js",
"exports": {
".": "./shell.js",
"./make": "./make.js",
"./make.js": "./make.js"
},
"files": [
"commands.js",
"global.js",
Expand Down

0 comments on commit 78ed036

Please sign in to comment.