fix: update package.json to properly handle bringing in exports with import or require

This commit is contained in:
Stevan Freeborn
2023-02-21 11:10:09 -06:00
parent 377469ab6b
commit 7e33c5ecaa
2 changed files with 17 additions and 4 deletions
+11
View File
@@ -0,0 +1,11 @@
cat > dist/cjs/package.json <<!EOF
{
"type": "commonjs"
}
!EOF
cat > dist/mjs/package.json <<!EOF
{
"type": "module"
}
!EOF