Minification breaks popper.js; how to circunvent minification in a given .js
jacargentina opened this issue · comments
The minification from jsmin, breaks popper.js: this code:
return +styles['border' + sideA + 'Width'].split('px')[0] + +styles['border' + sideB + 'Width'].split('px')[0];
and the result becomes:
return +styles['border'+sideA+'Width'].split('px')[0]++styles['border'+sideB+'Width'].split('px')[0];
The syntax error comes from the ++
I would love a way to:
- Use the already minified popper.min.js (provided by them), which is ok (the space between the
+
is in place) - Tell connect-assetmanager hey, dont jsmin this file!!! it's already minified just right