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 2525 "node" : " >=18.0.0"
2626 },
2727 "exports" : {
28- "import" : " ./dist/esm/index.js" ,
29- "require" : " ./dist/cjs/index.js"
28+ "." : " ./dist/index.js"
3029 },
3130 "files" : [
3231 " dist"
5958 " react scroll direction and position"
6059 ],
6160 "license" : " MIT" ,
62- "main" : " dist/esm /index.js" ,
61+ "main" : " dist/es /index.js" ,
6362 "name" : " @smakss/react-scroll-direction" ,
6463 "peerDependencies" : {
6564 "react" : " >=16.8.0"
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ export default [
77 input : 'src/index.ts' ,
88 output : [
99 {
10- file : packageJson . module ,
10+ file : 'dist/index.js' ,
1111 format : 'esm' ,
1212 exports : 'named' ,
13- sourcemap : true
13+ sourcemap : 'inline'
1414 }
1515 ] ,
1616 plugins : [ resolve ( ) , typescript ( ) ] ,
You can’t perform that action at this time.
0 commit comments