You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@everlose Sorry, the reply is late. Is really a great idea to use the plugins you recommend . However, according to my observation it also has some limitations;For example, it seems powerless when I want to inject pwa related functionality. Like this:
<% for (var chunk of webpack.chunks) {
for (var file of chunk.files) {
if (file.match(/\.(js|css)$/)) { %>
<link rel="<%= chunk.initial ? 'preload' : 'prefetch' %>" href="<%= htmlWebpackPlugin.files.publicPath + file %>" as="<%= file.match(/\.css$/)?'style':'script' %>">
<% }}} %>
I just find a plugin for index.html to add dynamic path 'vender.dll.js', comes across this issue: https://github.com/SimenB/add-files-html-webpack-plugin ,no more need ejs at all。
The text was updated successfully, but these errors were encountered: