Compare commits

..

3 commits

5 changed files with 1687 additions and 4 deletions

12
.swcrc Normal file
View file

@ -0,0 +1,12 @@
{
"env": {
"targets": [
"chrome 64",
"edge 79",
"firefox 67",
"opera 51",
"safari 12"
]
},
"minify": true
}

View file

@ -22,6 +22,7 @@ function AnalyticsInternal(props: { pagesRouter?: boolean }) {
// Track page view
const _paq = ((window as any)._paq = (window as any)._paq || []);
_paq.push(["setDocumentTitle", document.title]);
_paq.push(["setCustomUrl", document.location]);
_paq.push(["trackPageView"]);
return;
}

1663
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"build": "next build && swc .next/static/chunks/*.js .next/static/chunks/**/*.js -d . --include-dotfiles",
"start": "next start",
"lint": "next lint",
"lint:fix": "npm run lint -- --fix",
@ -62,6 +62,7 @@
"react-markdown": "^9.0.1",
"rss": "^1.2.2",
"sanity": "^3.57.1",
"sharp": "^0.33.5",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"uploadthing": "^6.12.0",
@ -71,11 +72,13 @@
"devDependencies": {
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@swc/cli": "^0.4.0",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/rss": "^0.0.32",
"@types/validator": "^13.12.1",
"autoprefixer": "^10.4.20",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8",
@ -95,5 +98,12 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
},
"browserslist": [
"chrome 64",
"edge 79",
"firefox 67",
"opera 51",
"safari 12"
]
}

View file

@ -1,6 +1,7 @@
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
autoprefixer: {},
tailwindcss: {},
},
};