butternut icon indicating copy to clipboard operation
butternut copied to clipboard

The fast, future-friendly minifier

Results 66 butternut issues
Sort by recently updated
recently updated
newest added

The following code throws an error: ```javascript let fn = () => { let object = { foo: 1, bar: 2 } } ``` Oddly enough, it works if the...

Trying to squash the minified [Ext JS](https://cdnjs.cloudflare.com/ajax/libs/extjs/6.2.0/ext-all.js) source throws an error. ``` Error: Cannot split a chunk that has already been edited (21:87489 – "){}else") at MagicString$1._splitChunk (/path/to/project/node_modules/magic-string/dist/magic-string.cjs.js:919:10) at MagicString$1._split...

bug

Hello. Does not work for me. Is it possible to avoid the intrusion? ``` Identifier 'err' has already been declared (143193:14) 143193 : var err = _.err( err ); ^"...

``` 45416 ms: Mark-sweep 1232.9 (1380.3) -> 1231.9 (1376.3) MB, 827.6 / 0.0 ms [allocation failure] [GC in old space requested]. 46303 ms: Mark-sweep 1231.9 (1376.3) -> 1231.6 (1334.3) MB,...

Safari throws a syntax error when declaring a top level for-loop iteration variable the same as a fn parameter ```js function foo(a){ for(let b=1;;) console.log(b); console.log(a); } ``` minifies to...

Trying to squash some cdnjs sources (e.g. [angular-timer](https://cdnjs.cloudflare.com/ajax/libs/angular-timer/1.3.5/angular-timer.min.js)) with 0.4.6 introduced a new error. It boils down to the freshly introduced `program.charFrequency` property not being initialized yet when the first...