inline script type="module"

This commit is contained in:
Frédéric SICRE 2022-03-30 21:49:32 +02:00 committed by GitHub
parent df3619f89b
commit 6ba9f3e8af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}