initial commit
This commit is contained in:
22
next.config.js
Normal file
22
next.config.js
Normal 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;
|
||||
Reference in New Issue
Block a user