{"repo":"mtripg6666tdr/nextjs-obfuscator","free":true,"listed":false,"github":"https://github.com/mtripg6666tdr/nextjs-obfuscator","clone":"git clone https://github.com/mtripg6666tdr/nextjs-obfuscator.git","description":"javascript-obfuscator plugin for next.js","language":"TypeScript","stars":81,"topics":["npm-package","nextjs","plugin","webpack-plugin"],"license":"BSD-2-Clause","category":"saas-starters-boilerplates","readme_excerpt":"javascript-obfuscator plugin for Next.js The nextjs-obfuscator enables you to make your Next.js app difficult to be reverse-engineered, using javascript-obfuscator. ℹ️ If you are looking for README for v1, see here. There are some useful notes: - The app router is supported. - Building by turbopack is currently NOT supported. - Minimum supported Next.js version is v13. Installation You have to install javascript-obfuscator separately. On npm: On yarn: Usage Wrap your configuration in your next.config.js to use this plugin, for example: Or if you use next.config.mjs : API require(\"nextjs-obfuscator\")( obfuscatorOptions , pluginOptions ) obfuscatorOptions Type: Object (required) This is the options of javascript-obfuscator, but there are some important notes: disableConsoleOutput should be set to false and you can easily notice the error logging by React on console. If they are present, they indicate your app has been broken. There are some options that MUST NOT be set: inputFileName sourceMapBaseUrl sourceMapFileName sourceMapMode sourceMapSourcesMode These options will be set by the nextjs-obfuscator plugin internally if necessary. pluginOptions Type: Object (optional) More options for this plugin. All properties are optional. Option Type Default Value Description --------- ------------------------------------ ------------- ----------- enabled boolean &#124; \"detect\" \"detect\" Indicates if the plugin is enabled or not. If \"detect\" specified, the plugin will be enabled only whe","default_branch":null,"files":null,"tree":[],"storefront":"/r/mtripg6666tdr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mtripg6666tdr/nextjs-obfuscator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}