Skip to content

Commit

Permalink
Also bundle esm, bump to 0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hansottowirtz committed Jan 9, 2023
1 parent eb30fcb commit 4b8c741
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-done-tracker",
"version": "0.0.5",
"version": "0.0.6",
"description": "Keep track of when your React tree is done loading",
"type": "module",
"main": "./dist/index.js",
Expand All @@ -9,10 +9,11 @@
"license": "MIT",
"exports": {
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"scripts": {
"build": "tsc && tsup src/index.ts",
"build": "tsup src/index.ts --format cjs,esm --dts",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test": "npm run test-storybook",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"strict": true,
"outDir": "dist",
"moduleResolution": "node",
"incremental": true
"incremental": true,
"tsBuildInfoFile": "build/.tsbuildinfo"
},
"include": ["src/**/*"],
}

1 comment on commit 4b8c741

@vercel
Copy link

@vercel vercel bot commented on 4b8c741 Jan 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.