NUglify
NUglify copied to clipboard
NUglify is a HTML, JavaScript and CSS minification Library for .NET (fork of AjaxMin + new features)
My issue seems similar to #264 I am minimizing bootstrap.js (version 5.1.3) and getting the error message: Strict-mode does not allow duplicate property names: ...Manipulator.getDataAttributes(this) I am using NUglify version...
While using this library, we got some issues with line-breaks that are just waiting to occur in the real world. After the second issue, we wrote a generic unit test....
Latest Nuglify Code used -> ``` let ga1 = (t) => ({1: 'a', 2: 'b', 3: 'c', 4: 'd', 5: 'e'})[n]?? ""; let ga2 = (t) => { return ({...
**Describe the bug** Grouping parantheses for destructuring is moved around, making code invalid. **To Reproduce** Using the following code settings: ``` AmdSupport = true, EvalTreatment = EvalTreatment.MakeAllSafe, OutputMode = OutputMode.SingleLine,...
✅ This CSS minifies correctly: ``` var css = """ .someClass > * { width:calc(50% - (10px / 2)); } """; var minified = NUglify.Uglify.Css(css).Code; Console.WriteLine(minified); ``` Output: `.someClass>*{width:calc(50% -...
NUglify version 1.21.0 **Enhancement** Is it possible to keep tag elements in their raw format output without minify them, e.g. `template, pre, textarea` ? The reason, maybe some tags have...
New user here. I'm using this indirectly via https://github.com/excubo-ag/WebCompiler. There does not seem to be any documentation, but there appears to be many configurable options. Would be nice to have...
NUglify version: 1.20.7 Reproduced in tiny console app in .NET 7.0 **Describe the bug** When using `??` in combination with `||` the necessary parentheses are removed in the minified code....
Latest version, trying to minify [Three.js v146](https://unpkg.com/[email protected]/build/three.js) but the issue is also present on the latest version 154. I'm not sure how to phrase it but I think the issue...
Are you using the latest verion of NUglify, especially if used through BunderMinifier? Update before raising a bug as your issue is probably already fixed. I'm using the last version....