Skip to content

Commit

Permalink
feat: declarationMap test on react example
Browse files Browse the repository at this point in the history
  • Loading branch information
2wheeh committed Aug 7, 2023
1 parent 8f372d7 commit bac2a7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions examples/react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"experimentalDecorators": true,
"declaration": true,
"declarationMap": true,
"types": [
"react",
"vite/client"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default defineConfig({
exclude: ['src/ignore'],
// aliasesExclude: [/^@components/],
staticImport: true,
rollupTypes: true,
// rollupTypes: true,
insertTypesEntry: true
})
]
Expand Down

0 comments on commit bac2a7d

Please sign in to comment.