I have a tsconfig like so
{
"compileOnSave": false,
"compilerOptions": {
"module": "es2015",
"target": "es2015",
"sourceMap": true,
"jsx": "react",
"allowSyntheticDefaultImports": true,
"noImplicitAny": false,
"watch": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowJs": true,
"suppressOutputPathCheck": true
},
"exclude": [
"dist",
"node_modules",
"bower_components",
"typings/globals",
"typings/modules"
]
}
And I am using webpack to bundle my project files. Most definition files have been added using typings but certain npm modules includes their own definition files. I want to be able to add those to the typescript compilation. Otherwise I get errors like Cannot find module X
How do I include those definition files in the compilation?