U
U
Undefined2021-12-18 20:16:06
webpack
Undefined, 2021-12-18 20:16:06

How does vue cli generate hash?

Hello, using
yarn vue-cli-service inspect
can detect what vue (file-loader) is using

output: {
    hashFunction: 'xxhash64',

to generate a hash, (e.g. "[contenthash:8].css") how can i generate a hash from a string and store it in a variable in the same algorithm and similar way
so i can uselet hash = xxhash64({length:8}, string)

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