But after enable SSRI and the @resource get TypeError [ERR_INVALID_URL].
TypeError [ERR_INVALID_URL]: Invalid URL: icon https://www.tampermonkey.net/favicon.ico
at new NodeError (node:internal/errors:329:5)
at onParseError (node:internal/url:537:9)
at new URL (node:internal/url:613:5)
at module.exports.computeSSRI (/srv/app/webpack-userscript/lib/ssri.js:26:18)
at /srv/app/webpack-userscript/lib/index.js:184:43
at Array.map (<anonymous>)
at /srv/app/webpack-userscript/lib/index.js:181:18
at processTicksAndRejections (node:internal/process/task_queues:94:5)
According to the documentation, the
@resource
should be look like follows:But after enable SSRI and the
@resource
getTypeError [ERR_INVALID_URL]
.webpack.config.js
header.json