fix: pin source-map dependency and clean up website

This commit is contained in:
iCrawl
2023-11-08 18:43:02 +01:00
parent e72b552ae2
commit 4a5e9fc1de
8 changed files with 23 additions and 410 deletions

View File

@@ -6,7 +6,6 @@
"private": true,
"scripts": {
"test": "vitest run",
"test:lighthouse": "lighthouse http://localhost:3000 --output-path=./lighthouse-results",
"build:check": "tsc --noEmit",
"build:local": "pnpm run build:prod",
"build:prod": "next build",
@@ -86,7 +85,6 @@
"hast-util-to-string": "^2.0.0",
"hastscript": "^8.0.0",
"html-escaper": "^3.0.3",
"lighthouse": "^11.3.0",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
"turbo": "^1.10.16",

View File

@@ -4,19 +4,21 @@
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"jsx": "preserve",
"baseUrl": ".",
"outDir": "dist",
"noEmit": true,
"paths": {
"~/*": ["./src/*"],
"contentlayer/generated": ["./.contentlayer/generated"]
},
"esModuleInterop": true,
"allowJs": true,
"incremental": true,
"skipLibCheck": true,
"plugins": [
{
"name": "next"
}
]
],
"paths": {
"~/*": ["./src/*"],
"contentlayer/generated": ["./.contentlayer/generated"]
}
},
"include": ["**/*.ts", "**/*.tsx", "next-env.d.ts", ".next/types/**/*.ts", ".contentlayer/generated"],
"exclude": ["node_modules"]