Open fauria opened 8 years ago
Its because grunt build just use the default assets configurations and doesn't create one based on bower.json
(No wiredep
task. Porbably a bug :) ).
I have worked on removing trailing comma using gulp-trailing-comma. But the npm package is not up-to-date friskfly/gulp-trailing-comma#2. I will create a PR once it is updated.
Is there still work that needs to be done here?
Since there is no update on friskfly/gulp-trailing-comma#2 , i have created a package and plugins for gulp and grunt for removing trailing commas.
@lirantal can you take a look at the PR?
Re-opening this issue as it is still relevant, waiting for @shanavas786 PR.
I have started #1412 . @lirantal Please have a look.
@shanavas786 @lirantal Moving to backlog since there hasn't been a successful PR that solves this issue.
When running
gulp build
orgrunt build
, trailing commas are added toconfig/assets/production.js
resulting in:Edit: Only
gulp build
adds those commas,grunt build
works fine.