Closed necm1 closed 6 months ago
The file https://github.com/soranoo/next-css-obfuscator/blob/main/bin/cli.mjs seems to be saved with CRLF instead of LF and thats causing issues on unix based systems
https://github.com/soranoo/next-css-obfuscator/blob/main/src/handlers/js-ast.test.ts seems also saved with CRLF instead of LF
Have you tried converting these files(node_modules/next-css-obfuscator/...
) to LF?
I don't see any issue in my Ubuntu.
Have you tried converting these files(
node_modules/next-css-obfuscator/...
) to LF?I don't see any issue in my Ubuntu.
After converting them, it worked as expected. Anyways, I guess it was important to mention it, so anyone else in the future isn't gonna face this issue. :D
I formatted the cli to LF https://github.com/soranoo/next-css-obfuscator/commit/f794bbd6f5bc6188435f4a452f97f361b6606793
Everything should work as expected in the latest version.
Type
Checklist
Environment
Describe the bug I just followed the tutorial and created a
next-css-obfucator.config.ts
file in my root directory. After building my application, I just tried to startobfuscate-build
and I get following error:To Reproduce Steps to reproduce the behavior:
Expected behavior To run maybe?
Screenshots If applicable, add screenshots to help explain your problem.
Config
Related files
Demos (if any) N/A
Additional context I did some research and I guess it's something related to my current OS (macOS).