B
B
BonBon Slick2020-01-03 19:30:22
JavaScript
BonBon Slick, 2020-01-03 19:30:22

How to set preload for .js files?

The name of the file is unknown, Maybe something
0.1935c567e615e0d9ad4c.hot-update.js
like this. I would like to make a preload like this for all files that will be used 100%.
Example

<link rel="preload" href="/dist/c5c1b0d6ea743c9a224d.js" as="script">

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shohruh Shaimardonov, 2020-01-03
@BonBonSlick

you here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question