change the npm to yarn and update the json

This commit is contained in:
Yifei Hu 2024-07-10 11:00:11 +08:00
parent 78738c9282
commit effd1d38d0
19 changed files with 4111 additions and 6 deletions

View file

@ -2,14 +2,20 @@
// eslint-disable-next-line no-undef, @typescript-eslint/no-var-requires
const webpack = require("webpack");
/** @type {import('next').NextConfig} */
/** @type {import("next").NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
hostname: "s2.googleusercontent.com",
protocol: "https",
hostname: "**",
},
{
protocol: "http",
hostname: "**",
},
],
domains: ["raw.githubusercontent.com"],
},
webpack: (config, { isServer }) => {