Commit 0961c7dc authored by Phil Hughes's avatar Phil Hughes

Merge branch '6544-remove-scss-diff-ee' into 'master'

Resolve difference in app/assets/stylesheets/application.scss

Closes #6544

See merge request gitlab-org/gitlab-ee!14776
parents db3aba06 58c0f571
/*
This is a noop-file. In EE:
ee/app/assets/stylesheets/_ee/application_ee.scss
will take precedence over it and import more styles
*/
......@@ -35,7 +35,7 @@
@import "behaviors";
// EE-only stylesheets
@import "../../../ee/app/assets/stylesheets/**/*";
@import "application_ee";
// CSS util classes
@import "utilities";
......@@ -182,6 +182,12 @@ module Gitlab
config.assets.precompile << "pages/jira_connect.css"
end
# Import path for EE specific SCSS entry point
# In CE it will import a noop file, in EE a functioning file
# Order is important, so that the ee file takes precedence:
config.assets.paths << "#{config.root}/ee/app/assets/stylesheets/_ee"
config.assets.paths << "#{config.root}/app/assets/stylesheets/_ee"
config.assets.paths << "#{config.root}/vendor/assets/javascripts/"
config.assets.precompile << "snowplow/sp.js"
......
/*
Entry point for EE specific CSS
*/
@import '../components/**/*';
@import '../framework/**/*';
@import '../page_bundles/**/*';
@import '../pages/**/*';
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment