I am not convinced about this because now you force ALL components into the javascript directory - what about other assets. This does not make sense. It might be better to have a separate jquery bundle. In the long term Symfony can copy bundle assets to the /src/web/bundles/* folder so that is the better target (and could even be outsourced to it's own bundle). In any case, specifying the javascript folder here is not ok.