Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit a94c6bd

Browse files
committed
Allow require.resolve("miniflare/cli") for getting CLI script path
1 parent 8d3b3c2 commit a94c6bd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/miniflare/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
"author": "MrBBot <[email protected]>",
1313
"license": "MIT",
1414
"type": "module",
15-
"exports": "./dist/src/index.js",
15+
"exports": {
16+
".": "./dist/src/index.js",
17+
"./cli": "./dist/src/cli.js"
18+
},
1619
"types": "./dist/src/index.d.ts",
1720
"files": [
1821
"dist/src",

0 commit comments

Comments
 (0)