Skip to content

Releases: soranoo/next-css-obfuscator

Version 2.1.0

01 Feb 00:12
858b3f2
Compare
Choose a tag to compare

🎉 Version 2.1.0 has NOW been released 🎉

Shout out to hoangnhan2ka3 for providing a 💪wonderful issue report and a demo site.

📌 Changes

  • Much Much Much better quality of CSS selector obfuscation
  • Delete original CSS automatically after obfuscation (only apply at full obfuscation)
  • Support TailwindCSS Universal Selector (eg. *:pt-4)
  • More tests

📌 Configuration Changes

  • Removed customTailwindDarkModeSelector option, the dark mode selector will be automatically obfuscated at full obfuscation.
  • Merged includeAnyMatchRegexes and excludeAnyMatchRegexes options into whiteListedFolderPaths and blackListedFolderPaths options. (Directly move the regexes to the whiteListedFolderPaths and blackListedFolderPaths options)
  • Added removeOriginalCss option, default to false. Set to true to delete original CSS from CSS files if it has a obfuscated version.
  • classIgnore option now supports Regex.

Version 2.0.0

21 Jan 18:56
53e99db
Compare
Choose a tag to compare

🎉 Version 2 has NOW been released 🎉

This version is deeply inspired by PostCSS-Obfuscator. Shout out to n4j1Br4ch1D for creating such a great package and thank you tremor for sponsoring this project.

Changes:

  • Support partially obfuscation
  • Support TailwindCSS Dark Mode
  • New configuration file next-css-obfuscator.config.cjs
  • More configuration options
  • Now become a independent sulotion (no need to patch PostCSS-Obfuscator anymore)
  • More tests
  • Better CSS parsing

Migration Guide: