Bug report
Describe the bug
When I try to import json in a js file, I get resolve error
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Create a typescript project
create-next-app --example with-typescipt app
- Try to import json (
import { version } from '../package.json')
Expected behavior
it should import json without any problems because json resolution is set to true by default in tsconfig.json
Screenshots
If applicable, add screenshots to help explain your problem.
System information
- OS: Manjaro Linux 5.4.2
- Version of Next.js: 9.1.6
Additional context
typescript version: 3.7.4