feige
2025-01-16 0bed59a7c83975e466e31aa2fa14d8ee15473813
1
2
3
4
5
6
7
8
9
10
<meta charset="utf-8">
<title><%- htmlWebpackPlugin.options.libName %> demo</title>
<script src="./<%- htmlWebpackPlugin.options.assetsFileName %>.umd.js"></script>
<% if (htmlWebpackPlugin.options.cssExtract) { %>
<link rel="stylesheet" href="./<%- htmlWebpackPlugin.options.assetsFileName %>.css">
<% } %>
 
<script>
console.log(<%- htmlWebpackPlugin.options.libName %>)
</script>