Spea / SpBowerBundle

Symfony2 Bundle to handle asset dependencies with bower
231 stars 44 forks source link

Duplicate add files by depends #71

Closed ivan1986 closed 10 years ago

ivan1986 commented 10 years ago

in list i have

@angular_resource_js
  @angular_js
  /home/ivan/work/editor.my/src/Irev/MainBundle/Resources/public/components/angular-resource/angular-resource.js
@angular_js
  /home/ivan/work/editor.my/src/Irev/MainBundle/Resources/public/components/angular/angular.js
@angular_ui_tinymce_js
  @angular_js
  /home/ivan/work/editor.my/src/Irev/MainBundle/Resources/public/components/angular-ui-tinymce/src/tinymce.js

and i need use all of it on one page

    {% javascripts
    '@angular_resource_js'
    '@angular_ui_tinymce_js'
    %}

for this i get files path_1 and path_2 and they two contains angular.

but if use this

    '@IrevMainBundle/Resources/public/components/jquery-ui/ui/jquery.ui.effect-blind.js'
    '@IrevMainBundle/Resources/public/components/jquery-ui/ui/jquery.ui.menu.js'
    '@IrevMainBundle/Resources/public/components/jquery-ui/ui/*.js'

no dup

Spea commented 10 years ago

I think this documentation might help you :)