File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 25
25
"node" : " >=18.0.0"
26
26
},
27
27
"exports" : {
28
- "import" : " ./dist/esm/index.js" ,
29
- "require" : " ./dist/cjs/index.js"
28
+ "." : " ./dist/index.js"
30
29
},
31
30
"files" : [
32
31
" dist"
59
58
" react scroll direction and position"
60
59
],
61
60
"license" : " MIT" ,
62
- "main" : " dist/esm /index.js" ,
61
+ "main" : " dist/es /index.js" ,
63
62
"name" : " @smakss/react-scroll-direction" ,
64
63
"peerDependencies" : {
65
64
"react" : " >=16.8.0"
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ export default [
7
7
input : 'src/index.ts' ,
8
8
output : [
9
9
{
10
- file : packageJson . module ,
10
+ file : 'dist/index.js' ,
11
11
format : 'esm' ,
12
12
exports : 'named' ,
13
- sourcemap : true
13
+ sourcemap : 'inline'
14
14
}
15
15
] ,
16
16
plugins : [ resolve ( ) , typescript ( ) ] ,
You can’t perform that action at this time.
0 commit comments