Skip to content

Commit

Permalink
upgrade bunchee and fix export
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jan 13, 2024
1 parent 5b9c0fc commit 7014e52
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 131 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
modulePathIgnorePatterns: ['<rootDir>/examples/'],
setupFilesAfterEnv: ['<rootDir>/test/jest-setup.ts'],
moduleNameMapper: {
'^swr$': '<rootDir>/src/index.ts',
'^swr$': '<rootDir>/index/index.ts',
'^swr/infinite$': '<rootDir>/src/infinite/index.ts',
'^swr/immutable$': '<rootDir>/src/immutable/index.ts',
'^swr/subscription$': '<rootDir>/src/subscription/index.ts',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"@types/use-sync-external-store": "^0.0.3",
"@typescript-eslint/eslint-plugin": "5.59.8",
"@typescript-eslint/parser": "5.59.8",
"bunchee": "^4.2.11",
"bunchee": "^4.3.4",
"eslint": "8.42.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-jest-dom": "5.0.1",
Expand Down
Loading

0 comments on commit 7014e52

Please sign in to comment.