|
@@ -13,6 +13,8 @@
|
|
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>"/>
|
|
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>"/>
|
|
<% } %>
|
|
<% } %>
|
|
<!-- 使用CDN的JS文件 -->
|
|
<!-- 使用CDN的JS文件 -->
|
|
|
|
+ <!-- jquery使用父应用的 -->
|
|
|
|
+ <script ignore src="https://cdn-common.jianyu360.com/cdn/lib/jquery/3.6.0/jquery.min.js"></script>
|
|
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
|
|
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
|
|
<script type="text/javascript" src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
|
|
<script type="text/javascript" src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
|
|
<% } %>
|
|
<% } %>
|
|
@@ -40,7 +42,6 @@
|
|
<!-- <script src="https://www.jianyu360.com/antiRes/js/mainHook.js"></script> -->
|
|
<!-- <script src="https://www.jianyu360.com/antiRes/js/mainHook.js"></script> -->
|
|
<% } %>
|
|
<% } %>
|
|
</head>
|
|
</head>
|
|
-<!-- <script src="https://lib.baomitu.com/jquery/3.6.0/jquery.js"></script> -->
|
|
|
|
<body>
|
|
<body>
|
|
<noscript>
|
|
<noscript>
|
|
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
|
|
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
|