You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed on the phone the only sane way I see at the moment is to use 2 separate webpack configurations and have the first generate the fonts.css while the second includes the generated file.
And as discussed as well: you probably don't want this anyway because of increased page loading times if the fonts are embedded in your core javascript build (you could of course use separate target package files). But if you do, separate webpack calls can be set up easily and transparently.
i use symfony with webpack-encore and try to include the generated css file in the app.css file.
webpack.config.js
app.js
this files, as
font.css
is generated in the same run as it is included.i currently have to add the css files in my html file like this:
where it would be nice to only use the
encore_entry_script_tags
twig function (which simply adds css tag withbuild/app.css
or should this be handled automatically by webpack encore? so i would file a ticket there
The text was updated successfully, but these errors were encountered: