symfony / webpack-encore

A simple but powerful API for processing & compiling assets built around Webpack
https://symfony.com/doc/current/frontend.html
MIT License
2.23k stars 197 forks source link

Unable to preload links: feature not supported #1206

Open BigBenJr opened 1 year ago

BigBenJr commented 1 year ago

Hi. I activated in config/packages/webpack_encore.yaml the preload of script & link tags via HTTP/2 Link header preload: true

But I see this log error at each new request unable to preload links: feature not supported

My base.html.twig used simple Encore entry tags

        {% block stylesheets %}
            {{ encore_entry_link_tags('app') }}
        {% endblock %}
        {% block javascripts %}
            {{ encore_entry_script_tags('app') }}
        {% endblock %}

Any idea on what should I do to activate this feature ? Thanks !

symfony/webpack-encore-bundle v.1.16.1

Kocal commented 1 year ago

Hi, I think the best place to open this issue is in https://github.com/symfony/webpack-encore-bundle