Trunk is not injecting the integrity
attribute
#663
-
Hi there, it seems trunk is not injecting the integrity to any resources included in my index.html index.html <!DOCTYPE html>
<html lang="en">
<head>
<link data-trunk rel="copy-file" href="/assets/logo.svg" />
<link data-trunk rel="scss" href="/stylesheets/index.scss" />
<link rel="icon" href="logo.svg" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="og:title" content="Web Segment" />
<meta name="og:type" content="website" />
<title>Web Segment</title>
</head>
<body></body>
</html> generated index.html <!DOCTYPE html><html lang="en"><head>
<link rel="stylesheet" href="/index-f0e482e19fc41936.css">
<link rel="icon" href="logo.svg">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="og:title" content="Web Segment">
<meta name="og:type" content="website">
<title>Web Segment</title>
<link rel="preload" href="/web-segment-95de44c543225020_bg.wasm" as="fetch" type="application/wasm" crossorigin="">
<link rel="modulepreload" href="/web-segment-95de44c543225020.js"></head>
<body>
<script type="module">import init from '/web-segment-95de44c543225020.js';init('/web-segment-95de44c543225020_bg.wasm');</script></body></html> what am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
SegmentationViolator
Jan 2, 2024
Replies: 1 comment
-
Sorry, I was using older version of trunk. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SegmentationViolator
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry, I was using older version of trunk.