Skip to content

Commit

Permalink
fix: fix pkg exports
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jan 21, 2022
1 parent 8d990c4 commit d5014c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ jobs:
cache: yarn
- run: yarn install
- run: yarn lint
- run: yarn build
- run: yarn test --coverage
- uses: codecov/codecov-action@v2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./cjs/index.cjs"
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export * from './esm'
export * from './js'
export * from './types'

0 comments on commit d5014c2

Please sign in to comment.