Fixes: 1) Correct tsconfig.json paths for styles import; Extra: 1) Add .gitkeep placeholders for new pages, components, and styles directories.
29 lines
640 B
JSON
29 lines
640 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": "src/",
|
|
"target": "ES2017",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/styles": ["./src/styles"]
|
|
}
|
|
},
|
|
"include": [
|
|
"next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
"exclude": ["node_modules"]
|
|
}
|