fix: remove SRI from setup view template
This commit is contained in:
parent
bb03aed1c8
commit
1c60d98d17
@ -23,39 +23,20 @@ html
|
|||||||
|
|
||||||
//- CSS
|
//- CSS
|
||||||
<% for (var index in htmlWebpackPlugin.files.css) { %>
|
<% for (var index in htmlWebpackPlugin.files.css) { %>
|
||||||
<% if (htmlWebpackPlugin.files.cssIntegrity) { %>
|
|
||||||
link(
|
|
||||||
type='text/css'
|
|
||||||
rel='stylesheet'
|
|
||||||
href='<%= htmlWebpackPlugin.files.css[index] %>'
|
|
||||||
integrity='<%= htmlWebpackPlugin.files.cssIntegrity[index] %>'
|
|
||||||
crossorigin='<%= webpackConfig.output.crossOriginLoading %>'
|
|
||||||
)
|
|
||||||
<% } else { %>
|
|
||||||
link(
|
link(
|
||||||
type='text/css'
|
type='text/css'
|
||||||
rel='stylesheet'
|
rel='stylesheet'
|
||||||
href='<%= htmlWebpackPlugin.files.css[index] %>'
|
href='<%= htmlWebpackPlugin.files.css[index] %>'
|
||||||
)
|
)
|
||||||
<% } %>
|
<% } %>
|
||||||
<% } %>
|
|
||||||
|
|
||||||
//- JS
|
//- JS
|
||||||
<% for (var index in htmlWebpackPlugin.files.js) { %>
|
<% for (var index in htmlWebpackPlugin.files.js) { %>
|
||||||
<% if (htmlWebpackPlugin.files.cssIntegrity) { %>
|
|
||||||
script(
|
|
||||||
type='text/javascript'
|
|
||||||
src='<%= htmlWebpackPlugin.files.js[index] %>'
|
|
||||||
integrity='<%= htmlWebpackPlugin.files.jsIntegrity[index] %>'
|
|
||||||
crossorigin='<%= webpackConfig.output.crossOriginLoading %>'
|
|
||||||
)
|
|
||||||
<% } else { %>
|
|
||||||
script(
|
script(
|
||||||
type='text/javascript'
|
type='text/javascript'
|
||||||
src='<%= htmlWebpackPlugin.files.js[index] %>'
|
src='<%= htmlWebpackPlugin.files.js[index] %>'
|
||||||
)
|
)
|
||||||
<% } %>
|
<% } %>
|
||||||
<% } %>
|
|
||||||
|
|
||||||
body
|
body
|
||||||
#root
|
#root
|
||||||
|
Loading…
Reference in New Issue
Block a user