Modern Front-End Development for Rails: ERROR in tsconfig.json Chapter_01/01

@noelrappin

Running the webpack dev server, I receive the following warning:

ERROR in tsconfig.json
TS18003: No inputs were found in config file ‘tsconfig.json’. Specified ‘include’ paths were ‘["/*"]’ and ‘exclude’ paths were '["/*.spec.ts",“node_modules”,“vendor”,“public”]’.

This appears to be a complaint about their being no .ts files for webpack to chew on. I’ve been just putting an empty “dummy.ts” file in the packs directory, but there’s probably a better way to handle this.

3 Likes