Originally reported by: Lee Langley (Bitbucket: LeeLangleyRees, GitHub: Unknown)
It might be good to remove the uglify compiling of the vendor JS files into a single file.
The reason being that it could be confusing for users, if they add some of their own dependencies via bower, but are unaware of how they are compiled in the gruntfile. You could end up with cases where the user added packages are not included and don't get copied into the public directory, causing confusion.
Although it's a nice feature, it may be easier to remove it.
Instead, I propose one of the following:
The Gruntfile moves each JS file into a /public/vendor/ directory.
No user added packages will be copied across, but at least it will be clear to the user which files are there.
The Gruntfile does nothing to the packages and we simply change the bower components directory to /public/vendor/ directory.
The benefit is that all bower packages will be included.
The downside is that a lot of the files included will be superflous, such as SASS files, readme files, demos etc.
Originally reported by: Lee Langley (Bitbucket: LeeLangleyRees, GitHub: Unknown)
It might be good to remove the uglify compiling of the vendor JS files into a single file.
The reason being that it could be confusing for users, if they add some of their own dependencies via bower, but are unaware of how they are compiled in the gruntfile. You could end up with cases where the user added packages are not included and don't get copied into the public directory, causing confusion.
Although it's a nice feature, it may be easier to remove it.
Instead, I propose one of the following:
The Gruntfile moves each JS file into a
/public/vendor/
directory.No user added packages will be copied across, but at least it will be clear to the user which files are there.
The Gruntfile does nothing to the packages and we simply change the bower components directory to
/public/vendor/
directory.The benefit is that all bower packages will be included.
The downside is that a lot of the files included will be superflous, such as SASS files, readme files, demos etc.