Webpack regex test that matches *.ts but not *.d.ts
问题 I am using Webpack (2.3.3) to build my Aurelia app in TS. However, since I am using includeAll option for AureliaPlugin (2.0.0-rc.2), ts-loader (2.0.3) cries about d.ts files that has nothing exported emitting no output. here is my rule for ts files: { test: /\.ts$/, include: /ClientApp/, use: "ts-loader" } I need to change the test value in a way that it matches files named *.ts except *.d.ts. Can you help me please? Note: I see there is already a similar regex question but that one did not