Skip to content

Is ts-loader adding d.ts files as a dependency to the bundle? #109

@guncha

Description

@guncha

I'm running into a situation where changes to the d.ts files are not getting picked up by Webpack during incremental building. Using webpack 1.12.3 with ts-loader 0.6.1. The loader config:

{
  test: /\.tsx?$/,
  exclude: /node_modules/,
  loader: 'babel-loader?plugins[]=babel-relay-plugin-wrapper&cacheDirectory!ts-loader'
}

Webpack is invoked using the Node.js API (not watching).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions