Closed BonBonSlick closed 4 years ago
With this config, preload works fine, but defer still does not applied to head script tags
new ScriptExtHtmlWebpackPlugin({
defaultAttribute: 'defer',
preload: {
test: /\.js$/,
chunks: 'async',
},
}),
EG
<head>
<link rel="preload" href="/0.main.js" as="script">
<script charset="utf-8" src="/0.main.js"></script>
Probably I am missing something for HtmlPlugin, VueLoaderPlugin or this one.
Got the same issue. @BonBonSlick did you find a solution?
@hellokvn I do not remember :(
Hello - I'm sorry to say that this plugin is no longer being maintained. I have tried to close all issues ahead of doing this but instead have found that the issue list just keeps growing. I simply do not have the time to keep up. Sorry. Please keep an eye on the README where I will record anyone who forks this repo with the intention to supporting it in the future.
Result
Expected, everything DEFER and preload.