We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ad3ed4 commit 1b6e582Copy full SHA for 1b6e582
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
types: "./dist-types/index.d.ts",
61
import: "./dist-src/index.js",
+ // Tooling currently are having issues with the "exports" field when there is no "default", ex: TypeScript, eslint
62
+ default: "./dist-src/index.js",
63
}
64
},
65
sideEffects: false,
0 commit comments