-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bower "main" field cannot contain minified files #699
Comments
I'm only a fledgling Bower user myself, but I suspect best practice is to provide non-minified versions as output to Bower, which gives consumers the option of minifying themselves using a Grunt/Gulp task etc. I think the fix here is, as suggested by the error, to not minify/uglify the file in Grunt (although it may be possible to trick bower by not naming the file Thoughts, @katspaugh? |
Yes, I guess we need to add a new, not minified, file in the distribution. |
Yep, Aikuma's gulp file builds wavesurfer.js and has overridea in the bower package. Bit ugly, but no huge deal. |
I've added the uniminified file to the build and updated the version. |
Seeing this error:
The text was updated successfully, but these errors were encountered: