This repository was archived by the owner on Dec 1, 2019. It is now read-only.
This repository was archived by the owner on Dec 1, 2019. It is now read-only.
Declaration file sub-folder issue #193
Open
Description
I have an entry ./source/index.ts
,
which correctly compiles to ./dist/index.js
,
but for some reason when enable declarations I get ./dist/source/index.d.ts
Is there a way to fix this to ./dist/index.d.ts
? :)
"awesome-typescript-loader": "^2.0.2",
"typescript": "^2.0.0",
"webpack": "^2.1.0-beta.17"
module.exports = {
entry: {
index: __dirname + '/source/index'
},
output: {
path: __dirname + '/dist',
filename: 'index.js'
},
resolve: {
root: __dirname,
extensions: ['', '.ts', '.js']
},
module: {
loaders: [
{ test: /\.ts$/, loaders: ['awesome-typescript-loader'] }
]
}
}
Metadata
Metadata
Assignees
Labels
No labels