cleanup
This commit is contained in:
parent
102456d7eb
commit
cee941525f
5
next-env.d.ts
vendored
5
next-env.d.ts
vendored
|
@ -1,2 +1,5 @@
|
|||
/// <reference types="next" />
|
||||
/// <reference types="next/types/global" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
module.exports = {
|
||||
future: {
|
||||
webpack5: true,
|
||||
},
|
||||
}
|
|
@ -11,7 +11,7 @@
|
|||
"@headlessui/react": "^1.4.1",
|
||||
"@heroicons/react": "^1.0.4",
|
||||
"framer-motion": "^4.1.2",
|
||||
"next": "^10.1.3",
|
||||
"next": "^12.1.6",
|
||||
"next-page-transitions": "^1.0.0-beta.2",
|
||||
"next-seo": "^4.23.0",
|
||||
"react": "^17.0.1",
|
||||
|
@ -26,7 +26,7 @@
|
|||
"autoprefixer": "^10.2.5",
|
||||
"postcss-preset-env": "^6.7.0",
|
||||
"tailwindcss": "^2.0.4",
|
||||
"typescript": "4.0"
|
||||
"typescript": "^4.6.4"
|
||||
},
|
||||
"license": "MPL-2.0"
|
||||
}
|
||||
|
|
|
@ -3,7 +3,8 @@ import Document, {
|
|||
Main,
|
||||
NextScript,
|
||||
DocumentContext,
|
||||
} from 'next/document';
|
||||
Head,
|
||||
} from "next/document";
|
||||
|
||||
class MyDocument extends Document {
|
||||
static async getInitialProps(ctx: DocumentContext) {
|
||||
|
@ -15,10 +16,11 @@ class MyDocument extends Document {
|
|||
render() {
|
||||
return (
|
||||
<Html lang="en">
|
||||
<Head />
|
||||
<body>
|
||||
<Main />
|
||||
<NextScript />
|
||||
{process.env.NODE_ENV === 'production' && (
|
||||
{process.env.NODE_ENV === "production" && (
|
||||
<>
|
||||
<noscript>
|
||||
<img src="https://shy.maatt.ch/ingress/6ca8c840-0db8-42ce-91b1-2b185abca277/pixel.gif" />
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
"forceConsistentCasingInFileNames": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "preserve",
|
||||
"lib": ["dom", "es2017"],
|
||||
"lib": [
|
||||
"dom",
|
||||
"es2017"
|
||||
],
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"noEmit": true,
|
||||
|
@ -16,8 +19,14 @@
|
|||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"target": "esnext"
|
||||
"target": "esnext",
|
||||
"incremental": true
|
||||
},
|
||||
"exclude": ["node_modules"],
|
||||
"include": ["**/*.ts", "**/*.tsx"]
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
],
|
||||
"include": [
|
||||
"**/*.ts",
|
||||
"**/*.tsx"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user