Skip to content

Commit 05e8cc4

Browse files
committed
remove wildcard exports
This causes the following call, made by the Codegen infrastructure during React Native autolinking (specifically `node_modules/react-native-macos/scripts/codegen/generate-artifacts-executor/utils.js`): ```js require.resolve( "@nativescript/macos-node-api/package.json", { paths: [projectRoot]} ) ``` ... to fail. It unexpectedly resolves our index.js file rather than the package.json, and then proceeds to JSON.parse() our index.js file.
1 parent fc6db27 commit 05e8cc4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/macos/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@
5454
".": {
5555
"types": "./index.d.ts",
5656
"default": "./index.js"
57-
},
58-
"./*": {
59-
"types": "./*.d.ts",
60-
"default": "./index.js"
6157
}
6258
}
6359
}

0 commit comments

Comments
 (0)