From 73b3fffdbe730c33480682c40e7e8271e75ddf59 Mon Sep 17 00:00:00 2001 From: hellekin Date: Sat, 23 Jan 2021 15:35:49 +0100 Subject: Move CSS to Webpack Using both the asset pipeline and webpack is confusing and leads to unpredictable results in production. This commit moves all (S)CSS to Webpack under `app/javascript/scss` so that we can test whether the development interface results in a consistent production deployment. In order to load the ForkAwesome fonts we used a long path: `$fa-font-path: "../../../node_modules/fork-awesome/fonts";` Not sure whether this works... --- app/assets/stylesheets/application.scss | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 app/assets/stylesheets/application.scss (limited to 'app/assets/stylesheets/application.scss') diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss deleted file mode 100644 index 94d00ec..0000000 --- a/app/assets/stylesheets/application.scss +++ /dev/null @@ -1,21 +0,0 @@ -/* - * This is a manifest file that'll be compiled into application.css, which will include all the files - * listed below. - * - * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's - * vendor/assets/stylesheets directory can be referenced here using a relative path. - * - * You're free to add application-wide styles to this file and they'll appear at the bottom of the - * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS - * files in this directory. Styles in this file should be added after the last require_* statement. - * It is generally better to create a new file per style scope. - * - *= require normalize.css/normalize.css - *= require_self - *= require leaflet - *= require leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.webpack.css - *= require leaflet.markercluster/dist/MarkerCluster.css - *= require leaflet.markercluster/dist/MarkerCluster.Default.css - *= require_tree . - * - */ -- cgit v1.2.3