create bundle specific package.json

This commit is contained in:
Ewout Stortenbeker 2022-04-12 15:34:40 +02:00
parent 4069e947c0
commit 32371945ca

11
create-package-files Normal file
View file

@ -0,0 +1,11 @@
cat >dist/cjs/package.json <<!EOF
{
"type": "commonjs"
}
!EOF
cat >dist/esm/package.json <<!EOF
{
"type": "module"
}
!EOF