Skip to content

Commit 3b7126d

Browse files
committed
Update version
1 parent 4da786f commit 3b7126d

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "@yuxuan-zheng/react-infinite-scroll",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "A react compontent implements infinite scroll functionality",
55
"keywords": [
66
"react",
77
"infinite scroll",
88
"react component",
99
"react infinite scroll",
10-
"react hooks"
10+
"react hooks",
11+
"reverse scrolling"
1112
],
1213
"files": [
1314
"dist",

vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const buildLibConfig: UserConfigExport = {
2626
globals: {
2727
react: 'React',
2828
},
29+
exports: 'named',
2930
},
3031
},
3132
},
@@ -38,7 +39,7 @@ export default defineConfig(({ command, mode }) => {
3839

3940
// run yarn build
4041
if (mode === 'lib') return buildLibConfig;
41-
42+
4243
// run yarn build:demo
4344
return buildDemoConfig;
4445
});

0 commit comments

Comments
 (0)