initial commit

This commit is contained in:
PrinOrange
2023-12-25 17:21:39 +08:00
commit 0bd1089d74
94 changed files with 18648 additions and 0 deletions

22
next.config.js Normal file
View File

@@ -0,0 +1,22 @@
var WebpackObfuscator = require("webpack-obfuscator");
/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"],
images: {
remotePatterns: [
{ protocol: "https", hostname: "raw.githubusercontent.com" },
{ protocol: "https", hostname: "github.com" },
],
},
// webpack: (config, { dev }) => {
// if (!dev) {
// config.plugins.push(new WebpackObfuscator({ rotateStringArray: true }));
// }
// return config;
// },
// experimental: {
// webpackBuildWorker: true,
// },
};
module.exports = nextConfig;