Skip to content

Commit

Permalink
build test-built with top-level main, types
Browse files Browse the repository at this point in the history
Fix: #943
  • Loading branch information
isaacs committed Oct 7, 2023
1 parent 1cd8c04 commit 0d4fe42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/test/scripts/package-template.json
Expand Up @@ -27,6 +27,7 @@
"license": "BlueOak-1.0.0",
"type": "module",
"tshy": {
"main": true,
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
Expand Down
5 changes: 4 additions & 1 deletion src/test/test-built/package.json
Expand Up @@ -27,9 +27,12 @@
"license": "BlueOak-1.0.0",
"type": "module",
"tshy": {
"main": true,
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
}
},
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts"
}

0 comments on commit 0d4fe42

Please sign in to comment.