Open ashleydavis opened 2 years ago
Try this change
file js.js line 18
if (type && type.toLowerCase() !== 'text/javascript') {
debug('skipping %s', type);
return false;
}
PR #226
@fsicre that works when I hack it into my local version of inliner.
Thanks, hope you PR gets accepted soon!
Can confirm!
Not sure if this is a bug or intended operation, but Inline appears to ignore script tags with
type="module"
, for example:The output in the inlined file is lets the script tag pass through verbatim.
If I remove the
type="module"
then the JavaScript code is inlined correctly.