We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25d5ba7 commit f17cd7aCopy full SHA for f17cd7a
package.json
@@ -1,5 +1,5 @@
1
{
2
- "version": "1.4.2",
+ "version": "1.4.3",
3
"scripts": {
4
"clean": "rimraf dist test/*/dist test/*/dist-jsdoc",
5
"build:prod": "NODE_ENV=production webpack",
src/index.js
@@ -143,7 +143,8 @@ export default class {
143
configBase.plugins = [exportDefaultModulePath]
144
145
if (!this.options.tsdOutputFile) {
146
- this.options.autoTsdOutputFile = path.join(tempDir, `${compilation.chunks[0].files[0]}.d.ts`)
+ const tsdFileName = path.basename(compilation.chunks[0].files[0], ".js")
147
+ this.options.autoTsdOutputFile = path.join(tempDir, `${tsdFileName}.d.ts`)
148
}
149
150
const [htmlConfigPath, tsdConfigPath] = await Promise.all([
0 commit comments