braincrafted / bootstrap-bundle

BraincraftedBootstrapBundle integrates Bootstrap into Symfony2 by providing templates, Twig extensions, services and commands.
http://bootstrap.braincrafted.com
MIT License
399 stars 184 forks source link

".../vendor/twbs/bootstrap/less/bootstrap.less" does not exist" error when dumping for prod #460

Open jcfrane opened 7 years ago

jcfrane commented 7 years ago

Hi,

I followed the Getting started section of the documentation where i install less file using npm.

This is my config.yml:

assetic:
filters:
    less:
        node: /usr/local/bin/node
        node_paths: [/usr/local/lib/node_modules]
        apply_to: "\\.less$"
    cssrewrite: ~
braincrafted_bootstrap:
css_preprocessor: less

When i dump my assets in prod it tells me that twbs/bootstrap is missing... Why is assetic looking on that file? Thanks.