You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/FAQs.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -116,11 +116,11 @@ Then:
116
116
"exports": {
117
117
".": {
118
118
"types": {
119
-
"import": "./lib/index.d.ts",
120
-
"require": "./lib/index.d.cts"
119
+
"import": "lib/index.d.ts",
120
+
"require": "lib/index.d.cts"
121
121
},
122
-
"import": "./lib/index.js",
123
-
"require": "./lib/index.cjs"
122
+
"import": "lib/index.js",
123
+
"require": "lib/index.cjs"
124
124
}
125
125
}
126
126
}
@@ -222,7 +222,7 @@ If you really want spaces in your project you can always remove the `"useTabs":
222
222
## How can I use `bin`?
223
223
224
224
The `--bin` option allows you to create a `package.json` bin value to include for npx-style running.
225
-
An example of this would be `"./bin/index.js"`.
225
+
An example of this would be `"bin/index.js"`.
226
226
You'll need to create the folders and files that `bin` references.
227
227
228
228
If you'd like an example of what that looks like, take a look at the [CTA source code](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/e7fafcb8968f8f6c551ab0917c9a6a849a3cba28/bin/index.js)!
0 commit comments