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 4d1701a commit b6c35cbCopy full SHA for b6c35cb
1 file changed
packages/scripts/src/scripts/Server.ts
@@ -363,7 +363,10 @@ export class Server {
363
// heavily based on create-react-script
364
365
// Some more hooks on typescript
366
- if (this.hasTs) {
+ if (
367
+ this.hasTs &&
368
+ this.projectConfig.files.some(f => f.hasTypeScript !== false)
369
+ ) {
370
// try to get the fork ts checker webpack plugin
371
let ForkTsCheckerWebpackPlugin: any;
372
try {
0 commit comments