File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- import { compute } from '../dist/index.mjs '
1
+ import { compute } from '../dist/index.js '
2
2
window . computeScrollIntoView = compute
3
3
4
4
window . mapActions = ( item ) => ( {
Original file line number Diff line number Diff line change 20
20
"license" : " MIT" ,
21
21
"author" : " Cody Olsen" ,
22
22
"sideEffects" : false ,
23
- "type" : " commonjs " ,
23
+ "type" : " module " ,
24
24
"exports" : {
25
25
"." : {
26
26
"types" : " ./dist/index.d.ts" ,
27
27
"source" : " ./src/index.ts" ,
28
- "require" : " ./dist/index.js " ,
29
- "import" : " ./dist/index.mjs " ,
28
+ "require" : " ./dist/index.cjs " ,
29
+ "import" : " ./dist/index.js " ,
30
30
"default" : " ./dist/index.js"
31
31
},
32
32
"./package.json" : " ./package.json"
33
33
},
34
- "main" : " ./dist/index.js" ,
35
- "module" : " ./dist/index.mjs" ,
36
34
"source" : " ./src/index.ts" ,
35
+ "main" : " ./dist/index.cjs" ,
36
+ "module" : " ./dist/index.js" ,
37
37
"typings" : " ./dist/index.d.ts" ,
38
38
"files" : [
39
39
" dist" ,
You can’t perform that action at this time.
0 commit comments