Skip to content

Commit

Permalink
Add dedicated export for Bare (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager authored Nov 12, 2024
1 parent 7a458c7 commit c08fc01
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions bare.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require.addon.bind(require)
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
"version": "4.8.2",
"description": "Build tool and bindings loader for node-gyp that supports prebuilds",
"main": "index.js",
"exports": {
".": {
"bare": "./bare.js",
"default": "./index.js"
},
"./package": "./package.json"
},
"devDependencies": {
"array-shuffle": "^1.0.1",
"standard": "^14.0.0",
Expand Down

0 comments on commit c08fc01

Please sign in to comment.