Skip to content

Allow getCssFiles/getJsFiles in EntrypointLookup return files without filtering already returned #87

@davidrojo

Description

@davidrojo

Hello,

I am trying to get the css files of an entry to then pass them to a javascript that builds an iframe and adds in the iframe the css files.

I am adding EntrypointLookupInterface as a dependency and call getCssFiles of an entry that I have declared in webpack.config.js. The problem is that the function getCssFiles calls getEntryFiles that filters already returned files, resulting that some common files are not added then in my website when I call in twig {{ encore_entry_link_tags }}.

Looking at the code I cannot see any way to get the files avoiding this filtering.

There could be another function to retrieve entries without filtering, or add a parameter to getCssFiles and getJsFiles to skip filtering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions