Answer the question
In order to leave comments, you need to log in
How do you include static generated with webpack?
Good afternoon.
To prevent caching in the webpack settings, I use [hash], i.e. changing a file always creates a new one with a new hash.
But how do you connect them now?
I found two ways:
1 - generating html, and connecting it.
2 - json generation with file data.
Both are not very convenient, maybe there are some other options?
server in php.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question