diff --git a/src/Exceptionless.Web/ClientApp/grunt/task-configs/cacheBust.js b/src/Exceptionless.Web/ClientApp/grunt/task-configs/cacheBust.js index 437934d410..a0a61b579f 100644 --- a/src/Exceptionless.Web/ClientApp/grunt/task-configs/cacheBust.js +++ b/src/Exceptionless.Web/ClientApp/grunt/task-configs/cacheBust.js @@ -1,6 +1,6 @@ module.exports = { options: { - assets: ["app.min.css", "app.min.js", "app.config.js", "favicon.ico"], + assets: ["vendor.min.css", "vendor.min.js", "app.min.css", "app.min.js", "app.config.js", "favicon.ico"], baseDir: "./dist", }, src: ["dist/index.html"], diff --git a/src/Exceptionless.Web/ClientApp/grunt/task-configs/cssmin.js b/src/Exceptionless.Web/ClientApp/grunt/task-configs/cssmin.js index ee8bb088f4..aec9e6be90 100644 --- a/src/Exceptionless.Web/ClientApp/grunt/task-configs/cssmin.js +++ b/src/Exceptionless.Web/ClientApp/grunt/task-configs/cssmin.js @@ -3,4 +3,11 @@ module.exports = { src: ["temp/app.css", "<%= dom_munger.data.appcss %>"], dest: "dist/app.min.css", }, + vendor: { + src: [ + "node_modules/bootstrap/dist/css/bootstrap.min.css", + "node_modules/font-awesome/css/font-awesome.min.css", + ], + dest: "dist/vendor.min.css", + }, }; diff --git a/src/Exceptionless.Web/ClientApp/grunt/task-configs/dom_munger.js b/src/Exceptionless.Web/ClientApp/grunt/task-configs/dom_munger.js index 15ce74cd08..c0d5c908d1 100644 --- a/src/Exceptionless.Web/ClientApp/grunt/task-configs/dom_munger.js +++ b/src/Exceptionless.Web/ClientApp/grunt/task-configs/dom_munger.js @@ -12,10 +12,12 @@ module.exports = { options: { remove: ['script[data-remove!="false"]', 'link[data-remove="true"]'], append: [ + { selector: "body", html: '' }, { selector: "body", html: '', }, + { selector: "head", html: '' }, { selector: "head", html: '' }, ], }, diff --git a/src/Exceptionless.Web/ClientApp/grunt/task-configs/uglify.js b/src/Exceptionless.Web/ClientApp/grunt/task-configs/uglify.js index 1f1f2d17ec..d07256bae0 100644 --- a/src/Exceptionless.Web/ClientApp/grunt/task-configs/uglify.js +++ b/src/Exceptionless.Web/ClientApp/grunt/task-configs/uglify.js @@ -10,4 +10,12 @@ module.exports = { src: "dist/app.js", dest: "dist/app.min.js", }, + vendor: { + src: [ + "node_modules/jquery/dist/jquery.min.js", + "node_modules/bootstrap/dist/js/bootstrap.min.js", + "node_modules/lodash/lodash.min.js", + ], + dest: "dist/vendor.min.js", + }, }; diff --git a/src/Exceptionless.Web/ClientApp/index.html b/src/Exceptionless.Web/ClientApp/index.html index 4fa90b5b1f..4326a7b212 100644 --- a/src/Exceptionless.Web/ClientApp/index.html +++ b/src/Exceptionless.Web/ClientApp/index.html @@ -30,7 +30,7 @@ - + @@ -48,8 +48,16 @@ - - + + @@ -62,17 +70,17 @@