set type to module so that module loaders expect imports

Vite for example won't compile with it
This commit is contained in:
Daniel Bulant 2022-03-19 19:54:47 +01:00 committed by GitHub
parent 4ab8e671e6
commit 219951255d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@
"prepack": "node build.js",
"prepare": "husky install"
},
"type": "module",
"typings": "./index.d.ts",
"files": [
"index.js",