Skip to content

Commit

Permalink
Merge pull request #421 from aldabil21/export-fix
Browse files Browse the repository at this point in the history
Fix export
  • Loading branch information
aldabil21 authored Feb 25, 2025
2 parents 225da7e + 0daebbb commit 2e5ad03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aldabil/react-scheduler",
"version": "3.0.2",
"version": "3.0.3",
"description": "React scheduler component based on Material-UI & date-fns",
"files": [
"*"
Expand All @@ -23,12 +23,11 @@
"test:ci": "jest --ci"
},
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs"
},
"./types": {
"import": "./dist/index.d.ts"
"import": "./types.d.ts"
},
".": {
"import": "./index.js"
}
},
"lint-staged": {
Expand Down
4 changes: 2 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import { peerDependencies } from "./package.json";

const __dirname = dirname(fileURLToPath(import.meta.url));

export default defineConfig((props) => ({
export default defineConfig(() => ({
plugins: [
react(),
tsconfigPaths({
configNames: ["tsconfig.json"],
}),
dts({ rollupTypes: true, tsconfigPath: "./tsconfig.build.json" }),
dts({ tsconfigPath: "./tsconfig.build.json" }),
],
server: {
port: 3000,
Expand Down

0 comments on commit 2e5ad03

Please sign in to comment.