Skip to content

Commit 1d834ae

Browse files
wolfy1339nickfloyd
andauthored
fix(pkg): add main export (#681)
Co-authored-by: Nick Floyd <[email protected]>
1 parent a71ea0e commit 1d834ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: scripts/build.mjs

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ async function main() {
6161
{
6262
...pkg,
6363
files: ["dist-*/**", "bin/**"],
64+
main: "dist-bundle/index.js",
65+
types: "dist-types/index.d.ts",
6466
exports: {
6567
".": {
6668
types: "./dist-types/index.d.ts",

0 commit comments

Comments
 (0)