Skip to content

Commit 25c3cbc

Browse files
committed
Add bloging pages
1 parent a40695b commit 25c3cbc

File tree

20 files changed

+564
-16
lines changed

20 files changed

+564
-16
lines changed

next.config.mjs

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ const bundleAnalyzer = withBundleAnalyzer({
1010
/** @type {import('next').NextConfig} */
1111
const nextConfig = {
1212
reactStrictMode: true,
13-
compress: true
13+
compress: true,
14+
output: "export"
1415
};
1516

1617
export default withPlugins([bundleAnalyzer], nextConfig);

package-lock.json

+222-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
2-
"name": "my-app",
2+
"name": "commit-rocket-website",
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
7-
"build": "next build && next export",
8-
"analyze": "cross-env ANALYZE=true npm run build"
7+
"build": "next build",
8+
"analyze:build": "cross-env ANALYZE=true npm run build",
9+
"analyze:dev": "cross-env ANALYZE=true npm run dev",
10+
"script:gen-articles-index": "node ./scripts/generateArticlesIndex.js"
911
},
1012
"dependencies": {
1113
"@heroicons/react": "^2.0.16",
@@ -18,6 +20,7 @@
1820
"react": "18.2.0",
1921
"react-dom": "18.2.0",
2022
"react-hook-form": "^7.43.5",
23+
"string-strip-html": "^13.2.1",
2124
"sweetalert2": "^11.4.8",
2225
"sweetalert2-react-content": "^5.0.7",
2326
"tailwind-merge": "^1.10.0",
@@ -37,4 +40,4 @@
3740
"postcss": "^8.4.21",
3841
"tailwindcss": "^3.2.7"
3942
}
40-
}
43+
}

0 commit comments

Comments
 (0)