From 6ba9f3e8af93c5d84910af7d25d7a0e27af231e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20SICRE?= Date: Wed, 30 Mar 2022 21:49:32 +0200 Subject: [PATCH] inline script type="module" --- lib/tasks/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/js.js b/lib/tasks/js.js index 6c085eb..4195ab5 100644 --- a/lib/tasks/js.js +++ b/lib/tasks/js.js @@ -15,7 +15,7 @@ function resolve(inliner, todo, $) { var promise; var isMinified = false; - if (type && type.toLowerCase() !== 'text/javascript') { + if (type && type.toLowerCase() !== 'text/javascript' && type.toLowerCase() !== 'module') { debug('skipping %s', type); return false; }