We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
default
1 parent 85bf1df commit b678490Copy full SHA for b678490
scripts/build.mjs
@@ -53,12 +53,13 @@ async function main() {
53
{
54
...pkg,
55
files: ["dist-*/**"],
56
- main: "./dist-src/index.js",
57
types: "./dist-types/index.d.ts",
58
exports: {
59
".": {
60
import: "./dist-src/index.js",
61
+ // Tooling currently are having issues with the "exports" field when there is no "default", ex: TypeScript, eslint
62
+ default: "./dist-types/index.js",
63
},
64
65
sideEffects: false,
0 commit comments