Skip to content

Commit 3fa3780

Browse files
author
Wes Biggs
committed
Add "main" to released package.json to avoid downstream warnings.
1 parent 6275e32 commit 3fa3780

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/package.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ delete rootPackage["scripts"];
1818
delete rootPackage["devDependencies"];
1919

2020
// Setup the main and types correctly
21+
rootPackage["main"] = "index.js";
2122
rootPackage["module"] = "./index.js";
2223
rootPackage["types"] = "index.d.ts";
2324

0 commit comments

Comments
 (0)