File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 22 "name" : " react-use-modal" ,
33 "version" : " 0.0.1" ,
44 "description" : " A custom hook for easy and quick modal management for React" ,
5- "main" : " dist/useModal .js" ,
6- "types" : " dist/useModal .d.ts" ,
5+ "main" : " dist/index .js" ,
6+ "types" : " dist/index .d.ts" ,
77 "type" : " module" ,
8- "files" : [" dist" ],
8+ "files" : [
9+ " dist"
10+ ],
911 "scripts" : {
1012 "build" : " rollup -c" ,
1113 "clean" : " rm -rf dist" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import terser from "@rollup/plugin-terser";
44import hookPackage from "./package.json" assert { type : "json " } ;
55
66export default {
7- input : "src/useModal .ts" ,
7+ input : "src/index .ts" ,
88 external : [ "react" , "react-dom" ] ,
99 output : [
1010 {
Original file line number Diff line number Diff line change 1+ export * from "./useModal" ;
2+ export * from "./useModal.types" ;
You can’t perform that action at this time.
0 commit comments