Skip to content

Commit

Permalink
fix: npm package missing exports and jsx not transformed
Browse files Browse the repository at this point in the history
  • Loading branch information
sapkra committed Mar 19, 2024
1 parent 4c01983 commit 08fbcc7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
export * from '@nextui-org/react';

export * from './components/color-input/ColorInput';
export * from './components/color-selector/ColorSelector';

export * from './fragments/shell/Shell';
export * from './fragments/sidebar/Sidebar';

export * from './hooks/breakpoints';
21 changes: 14 additions & 7 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,22 @@
"include": ["src/**/*"],
"compilerOptions": {
"rootDir": "src",
"target": "es6",
"module": "es6",
"outDir": "dist",
"strict": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"jsx": "preserve",
"moduleResolution": "node",
"target": "esnext",
"module": "esnext",
"lib": ["dom", "esnext"],
"declaration": true,
"sourceMap": true,
"moduleResolution": "node",
"skipLibCheck": true,
}
"strict": true,
"isolatedModules": true,
"noFallthroughCasesInSwitch": true,
"jsx": "react-jsx",
"esModuleInterop": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"downlevelIteration": true,
},
}

0 comments on commit 08fbcc7

Please sign in to comment.