gulp-uglify changes behavior of javascript
Closed this issue · 2 comments
Stadly commented
See this CodePen. It shows how Parsley.js v2.8.1 changes behavior when uglified by gulp-uglify v3.0.1.
In particular, <input type="date" min="2000-01-02" max="2179-06-06" value="2018-11-23">
is invalidated by the uglified version of Parsley.js, but not when Parsley.js is not uglified.
terinjokes commented
I just work on the plugin for Gulp. If you have an issue with how UglifyJS
minifies, you need to report it to them.
…On Fri, Nov 23, 2018, 1:24 AM Stadly ***@***.*** wrote:
See this CodePen <https://codepen.io/Stadly/pen/MzVzzB>. It shows how
Parsley.js <https://github.com/guillaumepotier/Parsley.js> v2.8.1 changes
behavior when uglified by gulp-uglify v3.0.1.
In particular, <input type="date" min="2000-01-02" max="2179-06-06"
value="2018-11-23"> is invalidated by the uglified version of Parsley.js,
but not when Parsley.js is not uglified.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#346>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAQsZZagX8AKSeg_-10YFduUg6jr1UDcks5ux77GgaJpZM4YwU9Q>
.
Stadly commented
Submitted directly to UglifyJs. mishoo/UglifyJS#3300