diff --git a/dist/jsenv_core.js b/dist/jsenv_core.js
index 2cfc3e7c83..342fcb2c8b 100644
--- a/dist/jsenv_core.js
+++ b/dist/jsenv_core.js
@@ -16646,6 +16646,31 @@ const jsenvPluginHtmlReferenceAnalysis = ({
actions.push(async () => {
const inlineUrlInfo = inlineReference.urlInfo;
await inlineUrlInfo.cook();
+ const typeAttribute = getHtmlNodeAttribute(node, "type");
+ if (expectedType === "js_classic") {
+ if (
+ typeAttribute !== undefined &&
+ typeAttribute !== "text/javascript"
+ ) {
+ // 1.
@@ -16849,31 +16874,12 @@ const jsenvPluginHtmlReferenceAnalysis = ({
) {
return;
}
-
- const inlineRef = visitTextContent(scriptNode, {
+ visitTextContent(scriptNode, {
type: "script",
subtype,
expectedType: type,
contentType,
});
- if (inlineRef) {
- // 1.
-
-
-