mirror of
https://github.com/remy/inliner.git
synced 2024-09-11 17:25:30 +03:00
inline script type="module"
This commit is contained in:
parent
df3619f89b
commit
6ba9f3e8af
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user