Skip to content

Commit

Permalink
chore: add test-helpers entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack committed Sep 18, 2024
1 parent 4bce511 commit 729eee5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
"import": "./lib-esm/next/index.js",
"require": "./lib/next/index.js"
},
"./test-helpers": {
"import": "./lib-esm/test-helpers.js",
"require": "./lib/test-helpers.js"
},
"./lib-esm/*": {
"import": [
"./lib-esm/*.js",
Expand Down
3 changes: 3 additions & 0 deletions packages/react/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ const input = new Set([
// "./next"
'src/next/index.ts',

// "./test-helpers"
'src/utils/test-helpers.tsx',

// Make sure all members are exported
'src/constants.ts',

Expand Down

0 comments on commit 729eee5

Please sign in to comment.