Skip to content

Commit 63adb5c

Browse files
committed
fix: πŸ› exclude example from tsconfig scope
1 parent b85edcd commit 63adb5c

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

β€Žexample/next/pages/_app.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import '../styles/globals.css'
2-
import React from 'react'
32

43
import type { AppProps } from 'next/app'
54

β€Žexample/next/pages/_document.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import Document, { Html, Head, Main, NextScript } from 'next/document'
32

43
class RootDocument extends Document {

β€Žexample/next/pages/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import type { NextPage } from 'next'
32
import Head from 'next/head'
43
import Image from 'next/image'

β€Žtsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
"esModuleInterop": true,
1414
"forceConsistentCasingInFileNames": true
1515
},
16-
"exclude": ["./node_modules"]
16+
"exclude": ["./node_modules", "./example"]
1717
}

0 commit comments

Comments
Β (0)