Florian Reuschel
Florian Reuschel
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...
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...
This one is a little bit tricky because I can't really tell what's the root cause for this, it's probably related to #134. --- The situation: Butternut removes an unused...
This is a rather weird line from [sentient-lang](https://cdnjs.cloudflare.com/ajax/libs/sentient-lang/0.0.0-alpha.42/sentient.js) which I'm not sure of what it should accomplish, but it seems to be valid JavaScript and thus should pass the Butternut...
> Raised by squashing [js-nacl](https://cdnjs.cloudflare.com/ajax/libs/js-nacl/1.2.2/nacl_factory.min.js). Having a combination of negated conditions and omitted braces can have weird outcomings. This seems to be closely related to #109 and #157. **Input:** ```javascript...
> Raised by squashing [ami.js](https://cdnjs.cloudflare.com/ajax/libs/ami.js/0.0.15/ami.min.js) Unused local variables are discarded, their values are kept. That leads to issues if the respective value is an object literal which is invalid as...
> Encountered while trying to sqash [atmosphere](https://cdnjs.cloudflare.com/ajax/libs/atmosphere/2.2.9/atmosphere.min.js) Seems that #109 has not been fixed in some edge cases, namely `switch` statements. **Input:** ```javascript switch ( any_value ) { case 'any_case':...
From squashing minified [ajv](https://cdnjs.cloudflare.com/ajax/libs/ajv/5.1.1/ajv.min.js). When Butternut encounters a secondary variable initialization in the first part of a `for` loop head, and that secondary variable is no further used, the variable...
I tried to squash [es6-shim](https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.35.3/es6-shim.min.js), which among other things provides a polyfill for `String.prototype.startsWith`. There seem to be [intentional misbehaviours](https://github.com/paulmillr/es6-shim/blob/master/es6-shim.js#L865-L868) in the source code, which lets Butternut fail its job....
I've encountered errors in multiple instances where acorn was complaining about certain structures like `with` blocks or deleting variables "in strict mode". The point is that the source files handled...