Skip to content

Commit

Permalink
updated config
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammad-fiaz committed Mar 15, 2024
1 parent 633d57c commit 207e649
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 28 deletions.
2 changes: 1 addition & 1 deletion json/posts.json

Large diffs are not rendered by default.

17 changes: 16 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,22 @@ const withMDX = createMDX({
const nextConfig = {
reactStrictMode: true,
images: {
domains: ["images.unsplash.com","avatars.githubusercontent.com","private-user-images.githubusercontent.com"],
remotePatterns: [
{
protocol: "https",
hostname: "avatars.githubusercontent.com",
port: "",
pathname: "/**",
},
{
protocol: "https",
hostname: "private-user-images.githubusercontent.com",
port: "",
pathname: "/**",
},
],


},
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
experimental: {
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"postcss": "^8.4.35",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.12",
"sass": "^1.71.1",
"sass": "^1.72.0",
"sharp": "^0.33.2",
"tailwind-bootstrap-grid": "^5.1.0",
"tailwindcss": "^3.4.1",
Expand Down
21 changes: 0 additions & 21 deletions pages/mdx-components.js

This file was deleted.

0 comments on commit 207e649

Please sign in to comment.