Skip to content

Commit

Permalink
add import conditions for fs, path and os (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafapaezbas authored Nov 19, 2024
1 parent 8f2180d commit ddb569f
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,19 @@
"version": "4.8.3",
"description": "Build tool and bindings loader for node-gyp that supports prebuilds",
"main": "index.js",
"exports": {
".": {
"bare": "./bare.js",
"default": "./index.js"
"imports": {
"fs": {
"bare": "builtin:fs",
"default": "fs"
},
"./package": "./package.json"
"path": {
"bare": "builtin:path",
"default": "path"
},
"os": {
"bare": "builtin:os",
"default": "os"
}
},
"devDependencies": {
"array-shuffle": "^1.0.1",
Expand Down

0 comments on commit ddb569f

Please sign in to comment.