From 1c60d98d1733afb23b6cab859b8d42600286b992 Mon Sep 17 00:00:00 2001 From: NGPixel Date: Wed, 1 Jan 2020 01:54:35 -0500 Subject: [PATCH] fix: remove SRI from setup view template --- dev/templates/setup.pug | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/dev/templates/setup.pug b/dev/templates/setup.pug index 36163e3f..d004281b 100644 --- a/dev/templates/setup.pug +++ b/dev/templates/setup.pug @@ -23,38 +23,19 @@ html //- 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( type='text/css' rel='stylesheet' href='<%= htmlWebpackPlugin.files.css[index] %>' ) - <% } %> <% } %> //- 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( type='text/javascript' src='<%= htmlWebpackPlugin.files.js[index] %>' ) - <% } %> <% } %> body