K
K
knowledge2019-12-13 15:08:17
symfony
knowledge, 2019-12-13 15:08:17

How to set the names of generated css files in webpack?

I use symfony and bpndl webpack encore
The essence of the problem
When executing yarn encore prod in the console, a css file of the form gfhgf576.css is compiled
And when changes are made to css and rebuild, it spits out again a file with exactly the same name.
In this connection, for users, the appearance of the site page remains the same and you need to force ctrl F5 or more radical measures. Previously, to solve these problems, I used the
style.css parameters?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question