salcode / bootstrap-genesis

WordPress Genesis Child Theme setup to use Bootstrap, Sass, and Grunt
MIT License
185 stars 63 forks source link

JavaScript Vendor Folder not compiling #148

Closed salcode closed 8 years ago

salcode commented 8 years ago

@unwiredtech wrote:

Javascript Vendor folder is not compiling, I tried to add to folders of JS libaries but they are not being uglified or minified.

salcode commented 8 years ago

This sounds similar to the problem described in https://github.com/salcode/bootstrap-genesis/issues/116#issuecomment-156474326

Can you provide more information on the steps to recreate this problem? Thank you.

unwiredtech commented 8 years ago

The issue where that the vendor; /js/vendor/particle-js/particle.js /js/vendor/swipebox/swipebox.js

any thoughts?

salcode commented 8 years ago

When you run grunt it should include all of the .js files in /vendor in javascript.min.js, this is because of the line https://github.com/salcode/bootstrap-genesis/blob/develop/Gruntfile.js#L58

If these libraries (particle-js and swipebox) are working, it sounds like they are being added to javascript.min.js

If I'm misunderstanding and you still feel there is a problem, you may want to create Git repo of the problem and I'll take a look at it.

unwiredtech commented 8 years ago

Hi Salcode, Apologies for this late reply.

I think it is included in the javacript.min.js but it seems it is not appearing in grunt when compiling?

I turned over the project and the functionality is working anyway, so no worries.

Kind Regards,

salcode commented 8 years ago

@unwiredtech I'm glad you got it sorted.

I'm going to close this issue since the code is appearing in the compiled file.

If you have further questions about how the grunt task works feel free to open a new issue specific to that.

Thanks.