From 0b0263a6050bfe2598453f74d57511b102a0ca4a Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Mon, 24 Feb 2020 14:10:42 +1100 Subject: [PATCH 1/2] Remove unused stylesheet manifest Compiling assets with application.css: 40s Compiling assets without application.css: 25s --- app/assets/stylesheets/application.css.scss | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 app/assets/stylesheets/application.css.scss diff --git a/app/assets/stylesheets/application.css.scss b/app/assets/stylesheets/application.css.scss deleted file mode 100644 index db803ee40a..0000000000 --- a/app/assets/stylesheets/application.css.scss +++ /dev/null @@ -1,7 +0,0 @@ -/* - * This is a manifest file that'll automatically include all the stylesheets available in this directory - * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at - * the top of the compiled file, but it's generally better to create a new file per style scope. - *= require_self - *= require_tree . -*/ From 8432dab142076a3d433ec04687dbe78d4d36270a Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Mon, 24 Feb 2020 14:29:00 +1100 Subject: [PATCH 2/2] Remove unused Javascript manifest It reduces compilation from 25s to 24s. --- app/assets/javascripts/application.js | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 app/assets/javascripts/application.js diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js deleted file mode 100644 index 37c7bfcdb5..0000000000 --- a/app/assets/javascripts/application.js +++ /dev/null @@ -1,9 +0,0 @@ -// This is a manifest file that'll be compiled into including all the files listed below. -// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically -// be included in the compiled file accessible from http://example.com/assets/application.js -// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the -// the compiled file. -// -//= require jquery -//= require jquery_ujs -//= require_tree .