fix(ui): use extensionless imports + bundler resolution for source-consumed package
This commit is contained in:
parent
c21c180ad2
commit
f808a3c05d
@ -1,4 +1,4 @@
|
|||||||
export { Button, type ButtonProps } from './components/Button.js';
|
export { Button, type ButtonProps } from './components/Button';
|
||||||
export {
|
export {
|
||||||
Toast,
|
Toast,
|
||||||
ToastProvider,
|
ToastProvider,
|
||||||
@ -6,22 +6,22 @@ export {
|
|||||||
toast,
|
toast,
|
||||||
dismissToast,
|
dismissToast,
|
||||||
type ToastMessage,
|
type ToastMessage,
|
||||||
} from './components/Toast.js';
|
} from './components/Toast';
|
||||||
export { Modal, type ModalProps } from './components/Modal.js';
|
export { Modal, type ModalProps } from './components/Modal';
|
||||||
export { ConfirmDialog, type ConfirmDialogProps } from './components/ConfirmDialog.js';
|
export { ConfirmDialog, type ConfirmDialogProps } from './components/ConfirmDialog';
|
||||||
export { Badge, type BadgeProps } from './components/Badge.js';
|
export { Badge, type BadgeProps } from './components/Badge';
|
||||||
export { EmptyState, type EmptyStateProps } from './components/EmptyState.js';
|
export { EmptyState, type EmptyStateProps } from './components/EmptyState';
|
||||||
export { Input, type InputProps } from './components/Input.js';
|
export { Input, type InputProps } from './components/Input';
|
||||||
export { Textarea, type TextareaProps } from './components/Textarea.js';
|
export { Textarea, type TextareaProps } from './components/Textarea';
|
||||||
export { Card, CardHeader, CardTitle, CardDescription, type CardProps } from './components/Card.js';
|
export { Card, CardHeader, CardTitle, CardDescription, type CardProps } from './components/Card';
|
||||||
export { Label, type LabelProps } from './components/Label.js';
|
export { Label, type LabelProps } from './components/Label';
|
||||||
export { Select, type SelectProps } from './components/Select.js';
|
export { Select, type SelectProps } from './components/Select';
|
||||||
export { Separator, type SeparatorProps } from './components/Separator.js';
|
export { Separator, type SeparatorProps } from './components/Separator';
|
||||||
export {
|
export {
|
||||||
Sidebar,
|
Sidebar,
|
||||||
SidebarItem,
|
SidebarItem,
|
||||||
type SidebarProps,
|
type SidebarProps,
|
||||||
type SidebarItemProps,
|
type SidebarItemProps,
|
||||||
} from './components/Sidebar.js';
|
} from './components/Sidebar';
|
||||||
export { StatCard, type StatCardProps } from './components/StatCard.js';
|
export { StatCard, type StatCardProps } from './components/StatCard';
|
||||||
export { LoadingSpinner, type LoadingSpinnerProps } from './components/LoadingSpinner.js';
|
export { LoadingSpinner, type LoadingSpinnerProps } from './components/LoadingSpinner';
|
||||||
|
|||||||
@ -2,6 +2,8 @@
|
|||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
|
"module": "esnext",
|
||||||
|
"moduleResolution": "bundler",
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"declaration": true
|
"declaration": true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user