File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 22 "name" : " detect-element-overflow" ,
33 "version" : " 1.3.1" ,
44 "description" : " A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips." ,
5- "main" : " dist/cjs/index.js" ,
6- "module" : " dist/esm/index.js" ,
7- "source" : " src/index.ts" ,
8- "types" : " dist/cjs/index.d.ts" ,
5+ "type" : " module" ,
96 "sideEffects" : false ,
7+ "main" : " ./dist/cjs/index.js" ,
8+ "module" : " ./dist/esm/index.js" ,
9+ "source" : " ./src/index.ts" ,
10+ "types" : " ./dist/cjs/index.d.ts" ,
11+ "exports" : {
12+ "import" : " ./dist/esm/index.js" ,
13+ "require" : " ./dist/cjs/index.js"
14+ },
1015 "scripts" : {
1116 "build" : " yarn build-esm && yarn build-cjs" ,
1217 "build-esm" : " tsc --project tsconfig.build.json --outDir dist/esm --module esnext" ,
You can’t perform that action at this time.
0 commit comments