NUglify icon indicating copy to clipboard operation
NUglify copied to clipboard

NUglify is a HTML, JavaScript and CSS minification Library for .NET (fork of AjaxMin + new features)

Results 70 NUglify issues
Sort by recently updated
recently updated
newest added

Hello, Adding some Junk code into Javascript can be a useful feature.

We use the last version of package (v1.20) **Describe the bug** After minify a ES5 javascript transpliller file, the code not working corretly. [test.zip](https://github.com/trullock/NUglify/files/8740112/test.zip) **To Reproduce** - From typescript source...

Just watch Lighthouse messages on reduced aria-* attributes. Your minifier works correctly. But you don't have to.

bug
PR Welcome!

Trying to compress JavaScript where a class method is named after a keyword, e.g. `delete`, results in the error `Expected identifier: delete`. ```cs Uglify.Js("class Foo { delete() { } }");...

Hello, Thank you for creating such a nice tool. Do you have any plan to add javascript obfuscator? That would add some extra security :) Thanks

enhancement
PR Welcome!

Using Nuglify 1.20.0 with the following JS: ``` var array = [{ name: "hello" }, { name: "hello2" }] let sObj = {} sObj = { ...array.find(s2 => s2.name ===...

bug

**Describe the bug** It seems that when code has variables, declared at the top, a function declared inside of an if statement and then more functions declared lower, the lower...

When running `Uglify.Js` on this string: ```js ``` I am getting a NullReferenceException with this stack trace: ```txt at NUglify.JavaScript.JSParser.ParseUnaryExpression(Boolean& isLeftHandSideExpr, Boolean isMinus) at NUglify.JavaScript.JSParser.ParseUnaryExpression(Boolean& isLeftHandSideExpr, Boolean isMinus) at NUglify.JavaScript.JSParser.ParseExpressionStatement(Boolean...

bug
PR Welcome!

Please update the CSS optimizations in NUglify to remove the space before `!important`. Instead of `color:red !important` the optimized CSS should be `color:red!important`.

enhancement