Q
Q
quiplunar2020-09-16 16:13:28
JavaScript
quiplunar, 2020-09-16 16:13:28

How to find the hash of a webpack build?

I started using HandlebarsPlugin and everything would be fine, except that js and css have hash in them filename: 'js/[hash].js'. And HandlebarsPlugin doesn't inject css/js into pages like WebpackHtmlPlugin does.

I wanted to write an insert into css / js pages myself, so the plugin has events in which you can process the content, but without a clue how to find out the hash of the assembly

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