Skip to content

Commit

Permalink
release: v0.9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
qmhc committed Jan 10, 2022
1 parent 261700f commit 4684fb6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [0.9.8](https://github.com/qmhc/vite-plugin-dts/compare/v0.9.7...v0.9.8) (2022-01-10)

### Bug Fixes

- put `copyDtsFiles` option in use ([#53](https://github.com/qmhc/vite-plugin-dts/issues/53)) ([261700f](https://github.com/qmhc/vite-plugin-dts/commit/261700f80a60b3bc1f22f391e00d9999205fe0d2)), closes [#52](https://github.com/qmhc/vite-plugin-dts/issues/52)

## [0.9.7](https://github.com/qmhc/vite-plugin-dts/compare/v0.9.6...v0.9.7) (2021-12-30)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@
"test:e2e": "cd example && cross-env DEBUG=\"vite-plugin-dts:bundle\" vite build"
},
"types": "dist/index.d.ts",
"version": "0.9.7"
"version": "0.9.8"
}
6 changes: 3 additions & 3 deletions src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,12 @@ export function dtsPlugin(options: PluginOptions = {}): Plugin {
if (!copyDtsFiles) {
return
}

includedFileSet.add(file)
sourceDtsFiles.add(project.addSourceFileAtPath(file))
return
return
}

includedFileSet.add(`${tjsRE.test(file) ? file.replace(tjsRE, '') : file}.d.ts`)
})

Expand Down

0 comments on commit 4684fb6

Please sign in to comment.