Update dist min JS to match src JS
PawelGlow opened this issue · 1 comments
PawelGlow commented
https://github.com/Mobius1/Selectr/blob/master/dist/selectr.min.js
does not match https://github.com/Mobius1/Selectr/blob/master/src/selectr.js
.
This creates a issue when you include the lib using NPM, it loads the obsolete file from the dist
folder which is specified in the package.json "main": "dist/selectr.min.js"
.
To see the difference search for this phrase this.select(0);
and notice the dist
min JS file is missing this IF condition: this.config.data.length > 0
.
brimimc commented
This is a huge issue for us as the XSS fixes from 8 months ago are not included in the dist/selectr.min.js
(works fine using the src selectr.js
. How is the min file created and can we get the npm package updated properly??