Skip to content

Commit

Permalink
fix: Switch ts module type for single-file type export
Browse files Browse the repository at this point in the history
BREAKING CHANGE
  • Loading branch information
Undistraction committed Aug 5, 2024
1 parent 28f2b24 commit e48c928
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
// Enable all strict type-checking options
"strict": true,
"module": "preserve", // try esnext
"module": "esnext",
"moduleResolution": "bundler", // For Vite
"target": "ES2017",
"sourceMap": true,
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default defineConfig(() => {
plugins: [
// Generate a single types file for all our types
dts({
// rollupTypes: true,
rollupTypes: true,
}),
],
}
Expand Down

0 comments on commit e48c928

Please sign in to comment.